How to edit a file


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.


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close