Installing(if not available) nano for mac/ubuntu
./configure make sudo make install
aptitude install nano
To create or edit a file, use the following command:
At the bottom of the screen you should see a bunch of commands. The caret ^ signifies holding down the control key and typing the letter.
All the list of commands are higlighted as we press ctrl key.
To quit nano, which was the biggest question I had, just use ctrl + X It prompts to save if you changed the file. press y or n and we’re done.
Here’s more from the nano editor org