Very Basic Question
How do I edit a file in the console of Rethat 7?
|
You can use the standard vi editor.
type in the command: vi filename Be sure to read a vi tutorial first; it's quite hard to use. To merely view a file, use: less filename there are other editors too, like pico, jed .... |
Another editor is emacs. It is quite a lot larger (and therefore slower, more cumbersome, etc) than vi or pico, but it will present and interface more familiar to Windows or Mac users. This having been said, it's still byzantine compared to, say notepad in Windows or SimpleText on the Mac. Reading up on how to use it is recommended.
|
i use vi.. i think its probably the fastest once you get the hang of it... here is a pretty cool link with a quick tutorial of vi and how to use it http://www.eng.hawaii.edu/Tutor/vi.html
|
You can also use pico its easier to use than vi if your not used to using vi you might want to try pico its almost like pine
so just type in: pico filename ~Jesus~ |
one more vote for vi - it's a pain to learn it at first ("esc-ZZ? what the hell is esc-ZZ?" ) but, once you get used to it, you just can't use anything else anymore. kinda like how i used to hate coffee when i was younger...
|
Midnight Commander is another one, just type "mc" in a console. There are a heap of good editors for linux, it's just a matter of trying them out and picking the one you like best.
|
All times are GMT -5. The time now is 03:13 AM. |