How to edit a file

nano

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.

Updated
Viewed
30079 times

Need help? We're always here for you.

notmyip