Solved

Newbie Question:  What do the different directories mean?

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

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 …
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

706 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

12 Experts available now in Live!

Get 1:1 Help Now