Nano text editor [How To]

Nano text editor [How To]

  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. Keyboard shortcuts

    At 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.
  5. 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.
  6. Help screen

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

Source: LXF151

12 Responsesto “Nano text editor [How To]”

  1. admin says:

    Craig Sparks from Facebook: bah, wheres how-to-vim-text-editor nano is a bunch of control keys and doesn’t even protect the document. nano < crap

  2. admin says:

    Thomas McNicholas from Facebook: gedit is good enough for me but here’s something I found about vim

  3. admin says:

    Alexander DeWolf from Facebook: I much prefer vi over nano.

  4. admin says:

    Антон Кузякин from Facebook: Vim for advanced users. But if you need small console editor – nano editor’s choice

  5. admin says:

    Антон Кузякин from Facebook: Often nano is pre installed

  6. admin says:

    Niels Lemmens from Facebook: nano is easy to start with, now I know how to use vim I’m not going back

  7. admin says:

    Teb Tengri from Facebook: Nanois easier to use from someone coming from Windows using notepad or wordpad. I’ve found vi to be available on far more systems than nano: embedded and the like

  8. admin says:

    Ari Lammasniemi from Facebook: does anyone remember good old Joe anymore? 😀

  9. admin says:

    Антон Кузякин from Facebook: Does anyone use good old Joe anymore?:-)

  10. admin says:

    Teb Tengri from Facebook: ed and joe, old friends, sadly we’ve grown apart since 2000 or so.

  11. admin says:

    Alexander DeWolf from Facebook: JOVE (Johnathan’s Own Verion of EMACS) is where I started.

  12. admin says:

    Teb Tengri from Facebook: On that note zile isn’t too bad on a size contstrained system either if you are used to emacs

Leave a Reply

Your email address will not be published. Required fields are marked *