It emulates the Pico text editor part of the Pine email client and also provides additional functionality.
How does nano text editor work. To see all valid shortcuts press CtrlG displayed as G or F1. Type nano followed by the filename to create or open an existing file. GNU nano is a text editor for Unix-like computing systems or operating environments using a command line interface.
As soon as you modify anything in the file youll notice that it reflects this information on the editor. To run Nano Text editor. To edit the text using nano all you need to do is type using your keyboard.
Unlike Pico nano is licensed under the GNU General Public License GPL. To check if Nano is installed you can run the command nano version. So just hold the Ctrl key and press any key with it to perform an action.
Nano is a very lightweight command line text editor. The two bottom lines in the text editor will display some of the most commonly used shortcuts as seen in the image below. On the command prompt type nano followed by the filename.
It doesnt have fancy changing modes that have vim. Edit the file as required. Nano uses keyboard combinations for different functions such as to find text in a file justify text etc.
Many Linux system administrators use Nano to do basic editing of Linux configuration files as it is easier to work with than Vim. Text editors are tools that can be used to edit any text-based document. It works on simple keyboard shortcut keys.