Académique Documents
Professionnel Documents
Culture Documents
Linux Filesystem Hierarchy Standard Some of you have been using linux for a very long time. But, most of the
people dont the complete architect of Linux Filesystem Hierarchy Standard.Lets dive into it.
/etc The
/etc
directory contains all of the system-wide
configuration files
. It also contains a collection of shell
scripts which start each of the system services at boot time.
Everything in this directory should be readable text.
Interesting files: While everything in
/etc
is interesting,
here are some of my all-time favorites:
/etc/crontab
, a file that defines when
automated jobs will run.
/etc/fstab
, a table of storage devices and their
associated mount points.
/etc/passwd
, a list of the user accounts.
/proc The /proc directory is special. Its not a real file system in
the sense of files stored on your hard drive. Rather, it is a
virtual file system maintained by the Linux kernel. The
files it contains are peepholes into the kernel itself. The
files are readable and will give you a picture of how the
kernel sees your computer.
/usr The /usr directory tree is likely the largest one on a Linux
system. It contains all the programs and support files used
by regular users.