nano [file]Arguments explained
- file is the path to open or create.
- -l shows line numbers on many versions.
Common examples
nano notes.txtOpens notes.txt for editing.
sudo nano /etc/hostsOpens /etc/hosts with administrative privileges.
| Field | Details |
|---|---|
| Command | nano |
| Category | Editors |
| Primary use | Opens a simple terminal text editor. |
| Syntax | nano [file] |