How do I use the Nano editor from the Unix shell?

In Unix, to edit a file using the Nano editor, enter:

 nano filename

Replace filename with the name of the file you want to edit; this can be an existing file or a new one that Nano will create for you. Nano will open the file, and you can then edit it much as you would a document in a word processor.

The caret (^) in front of the commands in the menu indicates that you should hold down the Ctrl key and press the corresponding letter. For example, ^A means you should hold down the Ctrl key, then press a. (The commands are listed on the screen in uppercase letters, but you type them in lowercase.)

For more help, press Ctrl-g while editing in Nano, or at the Unix prompt, enter:

 man Nano

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document agfg in the Knowledge Base.
Last modified on 2017-05-16 11:49:52.

Contact us

For help or to comment, email the UITS Support Center.