Solved

Newbie Question:  What do the different directories mean?

Posted on 2001-06-07
2
154 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

724 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