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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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