LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-20-2005, 09:55 AM   #1
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Rep: Reputation: 15
Newbie programing question


Im trying to learn how to read and manage linux config files.

Anyone know of any good tutorial and information sites?
 
Old 03-20-2005, 10:03 AM   #2
cylix
Member
 
Registered: Dec 2004
Location: Ohio
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
Which distribution?

Which configuration files?

Distributions as a whole are simply collection of applications and the linux kernel. Configuration files vary wildly among each distribution and each version there of.

To manage most configs you simply need to be able to parse a text file.

Some applications are a little more complicated and use various others means to store data, but it would be difficult to go into all of them.

What I've seen from most utilities that manage multiple configuration files. They tend to store data in a central location and rewrite the config file in question on the fly. (Or lack of storage, simply recreate the configuration file based on user input).
 
Old 03-20-2005, 10:35 AM   #3
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Original Poster
Rep: Reputation: 15
Thanks for the post cylix. At the moment im running fedora core 3 and vector soho. Let me ask you this.....am I right in assuming that each distro tends to use its own programming languages for these files?
 
Old 03-20-2005, 04:26 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Not necessarily.


the config files are not really a programming language but rather a collection of settings that the program can understand.



some have similarities to C programming like bash scripts.
 
Old 03-20-2005, 04:37 PM   #5
ahh
Member
 
Registered: May 2004
Location: UK
Distribution: Gentoo
Posts: 293

Rep: Reputation: 31
Config files are mostly just plain text files, though some are XML.

Just go to /etc and have a look at them. (Thats where most are kept)
 
  


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
A newbie is seeking for document about linux programing TruongAn Programming 4 02-21-2005 09:12 PM
C programing question israel Programming 2 11-29-2004 06:05 AM
newbie kernel module programing question djgerbavore Programming 4 08-01-2004 04:38 PM
From complete newbie to C++ programing in Linux Replicator 3.0 Programming 12 05-10-2004 02:23 PM
Question on programmERS, not programING MasterC Programming 5 09-01-2002 04:13 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:40 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
Open Source Consulting | Domain Registration