(nano.info)Invoking


Next: Command-line Options Prev: Introduction Up: Top
Enter node , (file) or (file)node

2 Invoking
**********

The usual way to invoke ‘nano’ is:

     nano [FILE]

   But it is also possible to specify one or more options (see the next
section), and to edit several files in a row.  Additionally, the cursor
can be put on a specific line of a file by adding the line number with a
plus sign before the filename, and even in a specific column by adding
it with a comma.  So a more complete command synopsis is:

     nano [OPTION]... [[+LINE[,COLUMN]|+,COLUMN] FILE]...

   Normally, however, you set your preferred options in a ‘nanorc’ file
(Note: Nanorc Files).  And when using ‘set positionlog’ (making ‘nano’
remember the cursor position when you close a file), you will rarely
need to specify a line number.

   As a special case: when instead of a filename a dash is given, ‘nano’
will read data from standard input.  This means you can pipe the output
of a command straight into a buffer, and then edit it.


automatically generated by info2www version 1.2.2.9