When working on the command line, quite often you will need to create or edit files. Two of the most famous and powerful command-line editors are Vim and emacs. On the other hand, they are equally difficult to learn. But there is a simpler editor available to just get things done and that is nano.
All commands are prefixed with a control(^) character or metacharacter(M). caret symbol represents control and M represents Meta. Control will generally be your control key. Meta character depends on the keyboard setup. It can either be an Esc key, alt key, or a special meta key.
In this video, I will help you learn the basic usage of the nano editor, including how to create an open file, edit a file, save a file, search and replace text, cut and paste text, and more.
If you wish to get more help, while inside nano editor hit: ^G