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

Hydra: Notes

Hydra v9.1 (c) 2020 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

WinRAR command

Examples: Compress four folders f:\z1 f:\z2 f:\z3 f:\z4 to one file f:\z.rar. "c:\Program Files\WinRAR\Rar.exe" a f:\z.rar f:\z1 f:\z2 f:\z3 f:\z4 F:\>"c:\Program Files\WinRAR\Rar.exe" RAR 5.61 x64 Copyright (c) 1993-2018 Alexander Roshal 30 Sep 2018 Trial version Type 'rar -?' for help Usage: rar - - a Add files to archive c Add archive comment ch Change archive parameters cw Write archive comment to file d Delete files from archive e Extract files without archived paths f Freshen files in archive i[par]= Find string in archives k Lock archive l[t[a],b] List archive contents [technical[all], bare] m[f] Move to archive [files only] p Print file to stdout r Repair archive rc Reconstruct missing volumes rn Rename archived ...