Please explain the file structure of linux?

Answer Posted / chandragouda

The Linux system contains thousand of files located within
many directories. All directories are organized in a
tree-structure like manner.

* The 'trunk' of the tree is the root directory.
* The root directory is simply identified as a "/".
* All other directories 'branch' off from the trunk.

The following lists the most common directories and their
intended contents.

* / - root directory
* /home - where directories are contained for each user,
example:
* /usr - pronounced 'user' and contains Linux commands
and utilities
o /bin - binary executable programs
o /lib - program libraries, similar to Windows
'dll' files
o /sbin - more executable programs and Linux
utilities for administrative purposes
o /doc - documentation
o /src - source code to programs
* /tmp - temporary work files
* /etc - configuration files
o /rc.d - scripts used during boot and shutdown
process
o /sysconfig - default configuration files
o /sysconfig/network-scripts - network scripts
o /sysconfig/daemons - special programs that run
in background, such as print spooling
* /bin - binary executable programs that all users need
* /dev - device files that control drives, terminals and
any equipment attached to the server
* /var - user specific files
o /log - log files containing system usage and errors
o /spool - where spooled files are stored during
print spooling process
o /mail - where Email files are stored until
retrieved by client Email program
* /proc - system files
* /root - root's home directory
* /opt - other options
* /sbin - more executable programs and utilities

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to connect to a remote server via ssh?

480


What is difference between at and cron?

515


Which are the shells used in linux?

465


Can I run linux on android?

407


Explain how to enable root logging in ubuntu?

487






What is the difference between samba and ftp server in linux?

465


How to display or kill all processes which are accessing any folder/file?

513


How to identify which shell you are using?

463


Can I download linux for free?

449


Is linux a kernel or os?

462


Do hackers use kali linux?

474


What is cli in linux?

482


Does bsd use linux kernel?

460


how would you get hardware details in linux operating system?

456


What is the default shell in linux called?

463