Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2007, 03:26 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 19

Rep: Reputation: 0
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?
Old 03-10-2007, 03:33 PM   #2
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Most distro's come with nano or pico, about the same thing.
Old 03-10-2007, 03:37 PM   #3
LQ Newbie
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks, that's what I was looking for.
Old 03-11-2007, 01:34 AM   #4
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing file permission, How to edit a file? rainchild Linux - Newbie 8 01-14-2007 11:18 PM
Edit in shell with mandrake 10.1 Fredstar Linux - Newbie 3 02-20-2005 06:00 PM
change login shell in mac os x, which file to edit feetyouwell Linux - Software 5 02-28-2004 07:23 PM
edit a file mjewell Linux - Newbie 3 01-19-2004 05:53 PM
how do i edit a file andym Linux - Software 6 04-16-2003 12:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration