Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To invoke nano to edit a new or existing file just type nano <filename>. For example:

Code Block
titleStart the nano text editor
nano newfile.txt

...

Once you've positioned the cursor where you want it, just type in your text.

To remove text:

  • the backspace Backspace key deletes the character before before the cursor
  • the delete Delete key, or Ctrl-d deletes the character after the cursor
  • Ctrl-k deletes all text on the current line after the cursor

Once you're satisfied with your edits:

...