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.txtopens 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 theCtrlkey.
Ctrl+Osaves a file. ‘O’ stands for output. (Write Out)Ctrl+Xexits the nano program. ‘X’ stands for exit.Ctrl+Gopens a help menu.clearclears the terminal window, moving the command prompt to the top of the screen.