Directory Structure in linux
/ ===> it is the top level directory in linux. every directory comes under it.
/bin ===> it store all local command of linux. it comes directly under root( mean
it take
space from / partition)
/boot ==> it store all booting files of linux. it comes indirectly under root( it
has its
own drive from which it take space)
/dev ===> every device comes under it.it come directly under root
/sbin ===> it store all administrative commands of linux.it comes directly under
root.
/root ===> it is home directory for root user.it comes directly under root.
/home ===> it is the home directory for every local user.it comes indirectly under
root
/etc ===> it store all configuration file of linux.it comes directly under root.
/lib ==> all installation modules(image files ) are present in it.it comes
directly under
root.
/usr ==> all basic software (package) of red hat located in it.it comes indirectly
under
root.
/opt ===> it is used for third party software.it comes indirectly under root.
/net ===> it is used to access share resources.it comes directly under
root.
/selinux ==> total activity of selinux is done in it.
/tmp ===> it is used for internet purpose.all user have full control but they can
not edit
or delete file of other user.it comes indirectly under root.
/var ===> all log files are saved in var.
/lost+found ==> it is act as recycle bin.it comes directly under root.
/media ===> it is used to mount all removable devices.
/mnt ===> it is used to mount non-removable devices.