[How To] Nano text editor

  1. Open a file

    To open a text file in nano, change to the directory where the file is stored, type nano and pass the filename as an argument, ex.

    nano command-notes.txt
  2. Start typing

    The entire terminal screen will be taken over by the nano interface. You can start typing immediately and see your text appear in the main part of the window.

  3. Write as normal

    Everything will work as expected, including the Return key for a new line, and the Arrow keys to scroll when the file gets large enough.

  4. [adinserter block=”6″]

  5. Keyboard shortcuts

    nano5At the bottom are commonly used keyboard shortcuts. The ^ indicates that you need to press Ctrl at the same time as the letter. Note that WriteOut means save.

  6. Status messages


    Some shortcuts will result in a status message and a question being asked of you. Read the message, and respond according to the options presented below.

  7. Help screen

    Be sure to investigate the Ctrl+G option, which will provide a help screen with all the options available.

Source: LXF151


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.