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).

MSSQL: Fix error 'Consistency validation for SQL Server registry keys'

While installing Microsof SQL Server 2012, I ran into the following error. "The SQL Server registry keys from a prior installation cannot be modified. To continue, see SQL Server Setup documentation about how to fix registry keys." How to fix Replace the D:\x64\FixSqlRegistryKey_x86.exe file with the original file from the ENU\SQLFULL_ENU.iso file downloading from Microsoft Download Center. This ISO file is 4.2GB. So you can click FixSqlRegistryKey_x86.exe to download this file only. After replacing that file, press Re-run to check. All rules are passed.

Docker for Windows: Access Denied

Today, I get this error when running Docker for Windows on Windows 10 Build 1803. So, I check my current username (run whoami ) and add that user to docker-users local group, which has only NT AUTHORITY\SYSTEM account in members list. I must log out and log in again to run Docker for Windows.