LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-26-2012, 09:15 PM   #1
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311
Blog Entries: 1

Rep: Reputation: 59
contents and explanation of files in /etc


/etc for Ubuntu, Debian, Fedora, Redhat, Mint14, SUSE have the majority of the system parameter files in /etc.
Has anyone put together a list of what each is for, and the names / locations of the programs that use the file or subdirectory?

If a list is started, we could build one that would identify the distribution, and in effect, indicate how the /etc file is used.

For example, on a large GUI system, would you have more than one menu system. Would you know where a specific application keeps it's icons?
 
Old 12-26-2012, 09:47 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Many of the files in /etc have their own man pages, and are common between distros.

There are some differences between debian based distros (BSD flavored) and RPM Red Hat forks (system V flavored).

/etc/issue will tell you which distribution and version you are using.
The LSB specs has some information about /etc requirements: http://refspecs.linuxbase.org/LSB_3....neric/etc.html
Also the file system hierarchy standard: http://refspecs.linuxbase.org/LSB_3....s.html#STD.FHS

Also look at the open desktop.org standard: http://standards.freedesktop.org/bas...-spec-0.6.html
 
Old 12-27-2012, 01:40 PM   #3
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
Perhaps I should have been more specific.
Suppose I want to make a global change to the PATH statement.
I may want to change it by adding my own library. I do not want to do it via the .bashrc as I may not be always running bash.

As an example, every PATH statement that I have seen has a ~/bin. Ubuntu has it first in the path, which I think is wrong from a security perspective. Fedora has it last in the path. Fortunately, Fedora does not instantiate ~/bin so security is not compromised.

I am assuming that somewhere in /etc is where the PATH string constituents are stored.

I went to the standard you mentioned, scanned all links and did not find what I needed. So yes, I asked the wrong question.
 
  


Reply

Tags
/etc, maintence, system parameters



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
Editing contents of 8 files at once mmahulo Linux - Newbie 7 12-22-2008 04:07 AM
text files contents jaepi Programming 5 06-18-2008 10:07 AM
Comparing files contents? hhegab Linux - Newbie 3 07-01-2004 12:45 AM
to compare the contents of 2 files MaleWithBrains Linux - Newbie 3 01-27-2004 06:39 PM
Deleting contents of files. Road Linux - General 2 10-03-2002 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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