nanostep 1 of 6
Open a file
Sooner or later you’ll need to change a file on a computer where all you have is a terminal: a setting on a server, a note, a script. nano is the friendliest editor for that. Give it a file name:
$ nano notes.txtThe file opens and you can type straight away. Move around with the arrow keys; the mouse doesn’t work.
The bottom two lines list the shortcuts. ^ means Ctrl, so ^X Exit means Ctrl + X.
Your turn, in the terminal
- Open notes.txt in nano