Editors

nano

Opens a simple terminal text editor.

nano is a straightforward editor for quick terminal edits. It shows common shortcuts at the bottom of the screen.

Syntax
nano [file]

Arguments explained

  • file is the path to open or create.
  • -l shows line numbers on many versions.

Common examples

Edit a file
nano notes.txt

Opens notes.txt for editing.

Edit a system config
sudo nano /etc/hosts

Opens /etc/hosts with administrative privileges.

nano Command
FieldDetails
Commandnano
CategoryEditors
Primary useOpens a simple terminal text editor.
Syntaxnano [file]