Skip to main content

GNU nano Text Editor

GNU Nano Text Editor

nano - Nano's ANOther editor, an enhanced free Pico clone

https://www.nano-editor.org/

Set tab size

$ echo "set tabsize 4" >> ~/.nanorc

Show line number

$ echo "set linenumbers" >> ~/.nanorc

Sample .nanorc file

set tabsize 4
set linenumbers
Shortcut keys
Shortcut keys Description
CTRL + K Delete line (Kut)
CTRL + U Paste (UnKut)
CTRL + W Search (Where)

Popular posts from this blog

nmap - The Network Mapper

WARNING : It is ILLEGAL to scan hosts without permission.

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.