| 1 | == How to edit a file on a server== |
| 2 | |
| 3 | There are a number of common editors for editing files in a terminal. The most frequently used are [http://www.nano-editor.org/dist/v2.0/nano.html nano], [http://vimdoc.sourceforge.net/htmldoc/usr_toc.html vim], [https://www.gnu.org/software/emacs/tour/ emacs]. Each of these editors comes with a level of difficulty, the easiest being nano. |
| 4 | |
| 5 | To open a file with the respective editors, you will need to enter the following commands respectively: |
| 6 | |
| 7 | * nano /path/to/file |
| 8 | * vim /path/to/file |
| 9 | * emacs /path/to/file |
| 10 | |
| 11 | Once a file is open you will need to know how to navigate within each program. Please see the documentation. |
| 12 | |
| 13 | * Within nano get help by typing `Control+g` |
| 14 | * Within vim get help by typing `: help` (that's the colon key then help. |
| 15 | * Within emacs follow the tutorial with `Control+h t`. |