LinuxQuestions.org
Help answer threads with 0 replies.
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-22-2003, 06:21 PM   #1
adhara
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
editing config files.. embarassingly basic question


very basic newbish question..

how do i access config files to edit them?
 
Old 12-22-2003, 06:29 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
most of your conf files are in /etc, and, you'll need to be root to edit them.
good luck.
 
Old 12-22-2003, 06:35 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
....... adding to that - su to Root user in an xterm then the general form is

editor path_to_configfile
 
Old 12-23-2003, 08:27 AM   #4
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Just in case you mean what to use to edit, some easier editors to use are:

pico
nano

and more traditional ones but more difficult at first are:

vi
emacs

Like Skyline said, the format at the command line using pico as an example would be:

>>pico <filename>

where >> is a prompt (dont type it) and <filename> is the pathname, fully qualified if neccesary.
 
  


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
basic question about searching files balteo Linux - Newbie 1 09-03-2005 08:38 PM
question on config files vs build files working2hard Programming 2 07-29-2004 12:45 PM
Editing config files in CUI jhelpme1212 Linux - Newbie 7 04-24-2004 09:05 AM
basic file editing dartania Linux - Newbie 1 09-21-2003 03:00 PM
Most basic config. Raizin Bran Linux - Newbie 6 02-13-2002 02:48 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration