Difference between revisions of "Linux Text Editors"
From GMOD
m |
m |
||
Line 6: | Line 6: | ||
! Example | ! Example | ||
|- | |- | ||
− | ! | + | ! gedit |
− | | Lighweight editor, and the easiest to use. Just type. Has save and quit buttons. | + | | Lighweight editor, and the easiest to use. Just type. Has save and quit buttons. |
− | | <tt> | + | | <tt>gedit ''filename.conf''</tt> |
− | |- | + | |- |
! nano | ! nano | ||
− | | Lightweight editor that can be run directly in the shell window. | + | | Lightweight editor that can be run directly in the shell window. Harder to use than gedit. |
| <tt>nano ''filename.conf''</tt> | | <tt>nano ''filename.conf''</tt> | ||
|- | |- | ||
! vi or vim | ! vi or vim | ||
− | | These editors are very powerful and very cryptic. If you don't already know vi, don't | + | | These editors are very powerful and very cryptic. If you don't already know vi, don't try to learn this during the course. |
| <tt>vi ''filename.conf''</tt> | | <tt>vi ''filename.conf''</tt> | ||
|- | |- | ||
! emacs | ! emacs | ||
− | | Powerful | + | | Powerful editor that is less cryptic than vi. |
| <tt>emacs ''filename.conf''</tt> | | <tt>emacs ''filename.conf''</tt> | ||
|} | |} | ||
− | === If you are in doubt, use | + | === If you are in doubt, use gedit === |
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 23:38, 10 June 2010
A text editor is a simple editor for viewing, creating and updating text files. Linux has a wide variety of text editors available. The Linux image used in the summer school has a couple of text editors that are available. Instructors, when they created pages, will show whatever editor they prefer. However, you can use any editor you prefer. Some text editors.
Editor | Comments | Example |
---|---|---|
gedit | Lighweight editor, and the easiest to use. Just type. Has save and quit buttons. | gedit filename.conf |
nano | Lightweight editor that can be run directly in the shell window. Harder to use than gedit. | nano filename.conf |
vi or vim | These editors are very powerful and very cryptic. If you don't already know vi, don't try to learn this during the course. | vi filename.conf |
emacs | Powerful editor that is less cryptic than vi. | emacs filename.conf |