nano

Simple terminal text editor

medium risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

Beginner-friendly editor. Ctrl+O writes, Ctrl+X exits, Ctrl+W searches.

Common flags
FlagMeaning
-wDisable line wrapping (important for config files)
-BBackup existing file
-lShow line numbers
Examples
nano -w /etc/fstabEdit without wrapping lines · explain & risk-check →
sudoedit /etc/hostsEdit a root-owned file safely · explain & risk-check →
Related
vim sudo
Open the full explainer →More in Text Processing

Reference text is hand-written and may be incomplete — check man nano for your version. Test destructive commands on a non-production system first.