Difference between revisions of "Linux Text Editors"
From GMOD
m (New page: 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...) |
m |
||
Line 9: | Line 9: | ||
| Lighweight editor, and the easiest to use. Just type. Has save and quit buttons. Must have already started X (type <tt>startx</tt> at the shell prompt) to run xedit. '''Hit the Save button twice before quitting xedit.''' | | Lighweight editor, and the easiest to use. Just type. Has save and quit buttons. Must have already started X (type <tt>startx</tt> at the shell prompt) to run xedit. '''Hit the Save button twice before quitting xedit.''' | ||
| <tt>xedit ''filename.conf''</tt> | | <tt>xedit ''filename.conf''</tt> | ||
− | |- | + | |- |
! nano | ! nano | ||
| Lightweight editor that can be run directly in the shell window. Use this if you don't know vi or emacs, and you haven't started X. | | Lightweight editor that can be run directly in the shell window. Use this if you don't know vi or emacs, and you haven't started X. | ||
Line 24: | Line 24: | ||
=== If you are in doubt, use xedit or nano === | === If you are in doubt, use xedit or nano === | ||
+ | |||
+ | [[Category:Linux]] |
Revision as of 06:12, 25 September 2009
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 |
---|---|---|
xedit | Lighweight editor, and the easiest to use. Just type. Has save and quit buttons. Must have already started X (type startx at the shell prompt) to run xedit. Hit the Save button twice before quitting xedit. | xedit filename.conf |
nano | Lightweight editor that can be run directly in the shell window. Use this if you don't know vi or emacs, and you haven't started X. | nano filename.conf |
vi or vim | These editors are very powerful and very cryptic. If you don't already know vi, don't use this. | vi filename.conf |
emacs | Powerful and still somewhat cryptic editor. Can be run before or after starting X. | emacs filename.conf |