Options (5)
-I, --ignorercfilesbooleanStart the editor without using configuration files
nano {{[-I|--ignorercfiles]}}-S, --softwrapbooleanOpen a file and enable soft wrapping
nano {{[-S|--softwrap]}} {{path/to/file}}-i, --autoindentbooleanOpen a file and indent new lines to the previous line's indentation
nano {{[-i|--autoindent]}} {{path/to/file}}-B, --backupbooleanOpen a file and create a backup file (`path/to/file~`) on save
nano {{[-B|--backup]}} {{path/to/file}}-R, --restrictedbooleanOpen a file in restricted mode (i.e. don't read/write to files not specified on the command-line)
nano {{[-R|--restricted]}} {{path/to/file}}Examples (8)
Open specific files, moving to the next file after closing the previous one
nano path/to/file1 path/to/file2 ...Start the editor without using configuration files
nano [-I|--ignorercfiles]Open a file and position the cursor at a specific line and column
nano +line,column path/to/fileOpen a file and enable soft wrapping
nano [-S|--softwrap] path/to/fileOpen a file and indent new lines to the previous line's indentation
nano [-i|--autoindent] path/to/fileOpen a file and create a backup file (`path/to/file~`) on save
nano [-B|--backup] path/to/fileOpen a file in restricted mode (i.e. don't read/write to files not specified on the command-line)
nano [-R|--restricted] path/to/fileExit nano
<Ctrl x>