LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Very Basic Question (https://www.linuxquestions.org/questions/linux-newbie-8/very-basic-question-7226/)

Terri 10-04-2001 07:47 AM

Very Basic Question
 
How do I edit a file in the console of Rethat 7?

DoubleLetter 10-04-2001 08:43 AM

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 ....

ejtbrown 10-12-2001 08:11 PM

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.

trickykid 10-13-2001 12:43 AM

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

toxic53 10-14-2001 11:54 PM

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~

isajera 10-15-2001 01:12 AM

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...

Aussie 10-17-2001 01:31 AM

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.