Nano
Nano is a very small and easy-to-use CLI text editor. One of the features of nano — you might even call it the main feature — is that nano prominently bolts a keyboard-shortcut cheat sheet to the bottom of your screen while you happily edit text in your terminal. This is very useful if you’re under stress, and not used to editing text on the command line.
Nano is good in a pinch, but you won’t find it installed in more minimal environments (Docker containers, production VMs). Be aware that nano also tends to automatically make backup files (~yourfile.txt
), thereby potentially polluting the filesystem.
Install nano
On all distributions we checked, the package name for nano is nano
– use your preferred OS’s package manager to install it (in this case, we’re installing it on Ubuntu):
apt-get install -y nano
Nano cheatsheet
You can find an official, up-to-date nano cheatsheet here: https://www.nano-editor.org/dist/latest/cheatsheet...