Edit a text file in Linux using nano

A lot of hardcore Linux users will use vi to edit a text file via a Linux shell. Personally I find that scary and have no idea what I am doing. Instead, I use nano, which is fairly straight forward to use. I use centos and that has nano installed by default, but if you have to install it, i’m sure a quick Google will help out.

nano filename

that’s it. simple.