nano is a little text editor. nano is simple; it opens, edits, and saves files. It doesn’t do color coding, but if
you just want to save a couple of lines or quickly edit a config file, nano will do the job brilliantly.
$ nano index.html Opens the index.html file
$ nano -B index.html When saving a file, back up its previous version to the current filename suffixed with a "~".
Use man nano for additional information.