Editing Files using nano

Create/Open new file
nano diary.txt Create file with nano and open the nano editor
Save file
CTRL O Executes Write Out (Save) command
File Name to Write: ? Enter filename of saved file
CTRL X Exit nano
Read file

Get content of other file and put in the current file

CTRL R Open File to insert [from ./] input:
File to insert [from ./]: ? Enter filename to insert and press enter
Where Is

Search for words in your file. Searches in a case-insensitive manner.
Once in searh mode, you can use additional terms:
By pressing ALT C for example, will modify search to Case Sensitive.

CTRL W Open Search:
Search: ? Enter search term press enter
Other command
CTRL \ Replace text
CTRL K Cut text
CTRL U Uncut text
To Spell

Nano's build in spell checker
Not setup by default.
To enable spell check, edit the nano configuration file located at /etc/nanorc
We will not have rights to edit this file, so we have to change permissions on this file:
sudo su
[sudo] password for user:
sudo nano /etc/nanorc
Use the Where Is command to find the word aspell
Remove hash infront of 'set speller "aspell -x -c"'

Examples