The <command>editor</command> command starts a text editor (such as <command>vi</command> or <command>nano</command>) and allows creating, modifying and reading text files. The simplest files can sometimes be created directly from the command interpreter thanks to redirection: <command>echo "<replaceable>text</replaceable>" ><replaceable>file</replaceable></command> creates a file named <replaceable>file</replaceable> with “<replaceable>text</replaceable>” as its contents. Adding a line at the end of this file is possible too, with a command such as <command>echo "<replaceable>moretext</replaceable>" >><replaceable>file</replaceable></command>. Note the <literal>>></literal> in this example.
El programa <command>editor</command> inicia un editor de texto (como <command>vi</command> o <command>nano</command>) y permite crear, modificar y leer archivos de texto. A veces puede crear los archivos más simples directamente desde el intérprete utilizando redirección: <command>echo "<replaceable>texto</replaceable>" ><replaceable>archivo</replaceable></command> creará un archivo llamado <replaceable>archivo</replaceable> con «<replaceable>texto</replaceable>» como su contenido. También es posible agregar una línea al final de este archivo si ejecuta algo como <command>echo "<replaceable>moretext</replaceable>" >><replaceable>archivo</replaceable></command>. Note el <literal>>></literal> en este ejemplo.