nano
Essential nano shortcuts for navigation, selecting text, find/replace and more.
Navigation
Move efficiently within a file using these commands.
Move to first line
Moves to the first line of the file.
Move to last line
Moves to the last line of the file.
Move to beginning of line
Moves the cursor to the start of the current line.
Move to end of line
Moves the cursor to the end of the current line.
Move to previous line
Moves the cursor to the previous line.
Move to next line
Moves the cursor to the next line.
Move to next word
Moves the cursor forward one word at a time.
Move to line number
Moves the cursor to a specific line number.
Selecting Text
Commands for selecting and cutting text.
Start selecting text
Starts marking text for cut/copy operations.
Cut selected text
Cuts the selected text and stores it in the buffer.
Paste text
Pastes the last cut text.
Search and Replace
Find text and perform replacements efficiently.
Search for a word
Finds the next occurrence of a word in the file.
Search and replace
Replaces text throughout the file.
Exiting Nano
How to quit Nano safely.
Save and exit
Writes changes to file and quits.
Exit without saving
Closes Nano without saving changes.
Miscellaneous
Other useful Nano commands.
Display help
Shows Nano's help documentation.