LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-30-2004, 09:42 PM   #1
Slayer097
Member
 
Registered: Dec 2004
Distribution: Slack 10
Posts: 59

Rep: Reputation: 15
Terminal editting


How do I edit a .conf file from the terminal? (what command do i use)
 
Old 12-30-2004, 09:44 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
the vi editor works nicely but may be a little learning to do.
vi somefile.conf
 
Old 12-30-2004, 09:46 PM   #3
Slayer097
Member
 
Registered: Dec 2004
Distribution: Slack 10
Posts: 59

Original Poster
Rep: Reputation: 15
Ok thanks.
 
Old 12-30-2004, 09:49 PM   #4
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,253

Rep: Reputation: 55
That depends on the editer you wish to use.

For most config files, you need to be root, so su to root and try:

pico /etc/fstab

Pico is a fairly simple editor form the command line.

You couls also try this:

mc

mc is Midnight Commander and this is a nice quick browser with editing capability.

Or, how about this:

jed /etc/fstab

Thats kinda cool.

vi and emacs too... no comment

HTH
 
  


Reply


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
Gnome Editting revolutionary_era Ubuntu 4 10-09-2005 08:17 AM
editting rhgb usa1234 Fedora 3 08-28-2004 12:27 PM
Editting Build Scripts Corallis Linux - Newbie 1 06-30-2004 08:26 PM
Audio Editting Software bkbroil Linux - Software 5 10-16-2003 09:56 AM
New to Linux....Need Help Editting werley_123 Linux - Newbie 11 07-13-2003 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:18 AM.

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