$ nano file.txt
$ nano -l main.c
$ nano -w /etc/hosts
| -l | show line numbers in the left margin |
| -i | automatically indent new lines to match the previous one |
| -m | enable mouse support |
| -w | don't hard-wrap long lines |
| -c | constantly show the cursor position |
| -B | save a backup of the previous version of the file |
| -S | use smooth (line-by-line) scrolling |
| -T | set the width of a tab in columns |
| -r | hard-wrap lines at this column |
| -Y | use this syntax-highlighting definition |
| -v | open the file in view (read-only) mode |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.