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

Docker: Commonly Used Commands

Repeat to remember Remember to repeat

Powershell: Test-NetConnection

PS C:\Users\tuyen> get-help Test-NetConnection NAME     Test-NetConnection SYNTAX     Test-NetConnection [[-ComputerName] <string>] [-TraceRoute] [-Hops <int>] [-InformationLevel {Quiet |     Detailed}]  [<CommonParameters>]     Test-NetConnection [[-ComputerName] <string>] [-CommonTCPPort] {HTTP | RDP | SMB | WINRM}     [-InformationLevel {Quiet | Detailed}]  [<CommonParameters>]     Test-NetConnection [[-ComputerName] <string>] -Port <int> [-InformationLevel {Quiet | Detailed}]     [<CommonParameters>]     Test-NetConnection [[-ComputerName] <string>] -DiagnoseRouting [-ConstrainSourceAddress <string>]     [-ConstrainInterface <uint32>] [-InformationLevel {Quiet | Detailed}]  [<CommonParameters>] ALIASES     TNC REMARKS     Get-Help cannot find the Help files fo...

Windows 10: Install SuSE Linux Enterprise - SLES

With Microsoft-Windows-Subsystem-Linux feature enabled, we can install Linux distributions on Windows 10.