Linux Directory Structure
Linux Directory Structure
Linux Directory Structure
STRUCTURE
Hardware Requirements
Type of Installation
Disk Used
Memory:
Min. for text-mode ---------------64 MB
Min. for graphical ----------------256 MB
Properties of Linux
Linux Pros:
Linux is free
Linux can be downloaded in its entirety
from the Internet completely for free. No
registration fees, no costs per user, free
updates, and freely available source code
in case you want to change the behavior
of your system.
Properties of Linux
Linux Pros:
Properties of Linux
Linux Pros:
Properties of Linux
Linux Pros:
Properties of Linux
Linux Pros:
Properties of Linux
Linux Pros:
Linux is scalable
From a Palmtop with 2 MB of memory to a
terabyte storage cluster with hundreds of
nodes: add or remove the appropriate
packages and Linux fits all. You don't need a
supercomputer anymore, because you can
use Linux to do big things using the building
blocks provided with the system.
/
The Linux filesystem has the root
directory at the top of the directory
tree.
/root
This is the home directory for the
super user (root).
This directory is not viewable from user
accounts.
The /root directory usually contains
system administration files.
/bin
Common programs, shared by the
system, the system administrator and
the users.
Programs within /bin are required for
system repairing.
Contains executable programs such as ls
and cp.
/boot
Stored in this directory are files that are required
for the Linux boot process.
Such files include vmlinuz, the Linux kernel file.
/dev
Contains device files required for interfacing with
hardware.
Devices in UNIX are either block or character
devices.
Examples of character devices are your keyboard,
mouse and serial port. Block devices can include the
floppy drive, CD-ROM drive and hard disk.
/sbin
Programs for use by the system and the
system administrator(root user)
/etc
Contains configuration files which are
local to the machine.
Programs store configuration files in this
directory and these files are referenced
when programs are run.
This directory contains data similar to
those in the Control Panel in Windows
/home
Contains user account directories.
Each user created by the system administrator will
have a subdirectory under /home with the name of
the account.
E.g. User account for Maria is created, her home
directory will be located in /home/maria. All her
personal files will reside in this directory.
/lib
Library files, includes files for all kinds of programs
needed by the system and the users.
/lost+found
When the filesystem cannot properly identify
files, the respective files are placed in this
directory.
If data appears to have been lost mysteriously, it
is a good idea to check in this directory.
/opt
Used for storing random data that has no
other logical destination.
Typically contains extra and third party software.
/proc
Provides information about running
processes and the kernel.
A directory is provided for each running
process.
The following commands will give you this
information:
$ cat /proc/cpuinfo - Display CPU information
of system
$ cat /proc/meminfo - Display RAM information
as well as swap space capacity and usage.
/usr
Used to store applications.
Programs, libraries, documentation etc. for all
user-related programs.
Some directories located within /usr include:
* /usr/doc - Documentation relating to the
installed software programs.
* /usr/bin - Executable programs that are not
required for booting or repairing the system.
* /usr/local/src - Source code for locally
installed applications.
/var
This directory contains files of variable
file storage.
Files in /var are dynamic and are
constantly being written to or changed.
next
LINUX NAVIGATION TOOLS