nano

Linux · Text · available in the simulator

What it does

Simple terminal text editor.

Syntax

nano [opciones] archivo

Options and parameters

  • +N

    open at line N

  • -B

    Creates a backup of the original file.

  • -w

    Disables wrapping of long lines.

  • -l

    Displays line numbers.

Usage examples

  • nano saludos.txt
  • nano +10 archivo.txt
  • nano -B archivo.txt

Notes and common mistakes

  • Inside nano: Ctrl+O saves and Ctrl+X exits.
Practise nano

Related commands