Solved

Newbie Question:  What do the different directories mean?

Posted on 2001-06-07
2
150 Views
Last Modified: 2010-04-20
I'm very new to Linux and want to find out more information regarding what the different directories mean such as:

/bin/
/var/
/etc/

I know there are more out there but that's all I can think of off the top of my head.

Thanks,
KABOOM!
0
Comment
Question by:KABOOM
2 Comments
 
LVL 1

Expert Comment

by:bassque
ID: 6165906
0
 
LVL 4

Accepted Solution

by:
newmang earned 25 total points
ID: 6165917
There used to be a de-facto standard for directories under UNIX and UNIX-like operating systems, over the years this has been blurred with various different implementations placing files in non-"standard" places but generally the directory usage is somewhat like this...

/bin - applications that can be executed by all users
/sbin - applications that can be executed by root users only
/etc - config files, startup files (/etc/rc.d/...) and so forth
/var - files which change constantly - such as log files (/var/log/message...)
/lib - Libraries
/home - user home files (can also be under /export/home)
/dev - file-like representation of system hardware devices
/proc - file-like representation of software processes
/opt - optional software (/opt/bin, /opt/etc, /opt/lib etc)
/usr - usually user installed software (/usr/local/bin, /usr/local/sbin)

As I said, often files are in other places but most seem to conform to these standards more or less.

Cheers - Gavin
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question