nano text editor

ano is a command line text editor. It is accessible from the command line and only accepts keyboard input.

$ nano hello.txt
  • The command nano hello.txt opens a new text file named hello.txt in the nano text editor.
  • The menu of keyboard commands at the bottom of the window allow us to save changes to hello.txt and exit nano. The ^ stands for the Ctrl key.
  • Ctrl + O saves a file. ‘O’ stands for output. (Write Out)
  • Ctrl + X exits the nano program. ‘X’ stands for exit.
  • Ctrl + G opens a help menu.
  • clear clears the terminal window, moving the command prompt to the top of the screen.

Links

Leave a comment

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