Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
router:gl-x750 [18:05 15/08/2024] – anakino7 | router:gl-x750 [20:29 19/05/2025] (actual) – editor externo 127.0.0.1 | ||
---|---|---|---|
Línea 41: | Línea 41: | ||
[[https:// | [[https:// | ||
- | |||
- | |||
To Start vi | To Start vi | ||
To use vi on a file, type in vi filename. If the file named filename exists, then the first page (or screen) of the file will be displayed; if the file does not exist, then an empty file and screen are created into which you may enter text. | To use vi on a file, type in vi filename. If the file named filename exists, then the first page (or screen) of the file will be displayed; if the file does not exist, then an empty file and screen are created into which you may enter text. | ||
- | vi filename edit filename starting at line 1 | + | |
- | vi -r filename recover filename that was being edited when system crashed | + | {{tablelayout? |
+ | ^ ^ ^ | ||
+ | |vi filename | ||
+ | |vi -r filename | ||
+ | |: | ||
+ | |: | ||
+ | |: | ||
+ | |||
+ | |||
+ | | | | | ||
To Exit vi | To Exit vi | ||
Usually the new or modified file is saved when you leave vi. However, it is also possible to quit vi without saving the file. | Usually the new or modified file is saved when you leave vi. However, it is also possible to quit vi without saving the file. | ||
Note: The cursor moves to bottom of screen whenever a colon (:) is typed. This type of command is completed by hitting the < | Note: The cursor moves to bottom of screen whenever a colon (:) is typed. This type of command is completed by hitting the < | ||
- | * : | + | * : |
| | ||
| |