| | 1 | [[PageOutline]] |
| | 2 | = File Editing = |
| | 3 | |
| | 4 | == File Editing Software == |
| | 5 | The following are the three most commonly used editors |
| | 6 | |
| | 7 | === nano === |
| | 8 | |
| | 9 | nano is the easiest to use editor available on the clusters. |
| | 10 | |
| | 11 | Use the following command to open a file for editing with nano: |
| | 12 | |
| | 13 | {{{ user@host> nano filename }}} |
| | 14 | |
| | 15 | === vim === |
| | 16 | vim is the improved version of vi with code syntax highlighting and other features useful for programming. This editor has a steep learning curve, but is very efficient. |
| | 17 | |
| | 18 | [[https://blog.interlinked.org/tutorials/vim_tutorial.html | Vim Introduction]] |
| | 19 | |
| | 20 | Use the following command to open a file for editing with vim: |
| | 21 | |
| | 22 | {{{ user@host> vim filename }}} |
| | 23 | |
| | 24 | === emacs === |
| | 25 | emacs also has code syntax highlighting along with auto-indentation and a whole list of other advanced editing features. |
| | 26 | |
| | 27 | [[http://insti.physics.sunysb.edu/itp/computing/doc/emacs-intro.html|Emacs Introduction]] |
| | 28 | |
| | 29 | Use the following command to open a file for editing with emacs: |
| | 30 | |
| | 31 | {{{ user@host> emacs filename }}} |