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.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.