Solved

Newbie Question:  What do the different directories mean?

Posted on 2001-06-07
2
148 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
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é.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

937 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now