LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you edit a file in shell? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-edit-a-file-in-shell-536340/)

Jhorra 03-10-2007 02:26 PM

How do you edit a file in shell?
 
I know I've read it before, but I'm trying to edit a file on my server through the shell. Can anyone help me out? Is there a guide on this online anywhere?

comprookie2000 03-10-2007 02:33 PM

Most distro's come with nano or pico, about the same thing.
http://www.gentoo.org/doc/en/nano-basics-guide.xml

Jhorra 03-10-2007 02:37 PM

Thanks, that's what I was looking for.

SciYro 03-11-2007 12:34 AM

For more advanced editors, vi is available in the command line, as well as numerous clones of vi. I think emacs also has a command line mode, tho i never used this editor enough to find out how to do it.


All times are GMT -5. The time now is 10:53 AM.