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 theCtrl
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.