nano : friendly editor for shell newbie

I’m familiar with ee (easy editor) that not available in hosting account, they provide vi and nano.

First time I use it I think nano is very good to help newbie user like me for editing little file such wp-config.php

Here’s how :

mv wp-config-sample.php wp-config.php

nano wp-config.php

edit things as I use notepad, when I need to save I type :

CTRL + o , this will save permanently

CTRL + x , exit from editor

use CTRL + e to go to end of line.

Simple and neat, those command available at the bottom :

^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Txt ^T To Spell

Yes, ^ is equal to CTRL button in my keyboard.