You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Nano es una herramienta que puede utilizar para modificar o crear archivos dentro de SSH. Es increíblemente útil para editar archivos existentes y ofrece una amplia gama de funcionalidades.


Nano es un editor de sin modo, lo que significa que una vez que haya abierto un archivo, puede escribir para agregarle texto. Puede haber ocasiones en las que deba desactivar el ajuste de línea para asegurarse de que no haya problemas de formato.


Puede haber ocasiones en las que deba desactivar el ajuste de línea para asegurarse de que no haya problemas de formato.


Cuando tiene un archivo abierto con nano, hay comandos que lo ayudarán a encontrar, editar o guardar contenido. A continuación se muestra una lista de comandos que puede usar al editar un archivo con nano para realizar operaciones comunes:


To exit: CTRL+x


To save after modification, exit with the above command and enter "y" when prompted.

To cancel any modification, exit with the above command and enter "n" when prompted.

If creating a new file, upon running the above command you will also be prompted for a file name. Enter the desired file name to create the file.


To cut a single line: CTRL+k


To paste a line: CTRL+u


To search for items: CTRL+w


To save without exiting: CTRL+o


Justify current selected paragraph: CTRL+j


Insert a file into the currently selected one: CTRL+r


Move to previous screen: CTRL+y


Move to next screen: CTRL + v


Display cursor: CTRL+c


Invoke spell checker: CTRL+t


For further commands that can be used when utilizing the nano utility, please use the following command to pull up a full list of features.


To pull up nano help page: CTRL+g

  • No labels