Experiment no :
Date :
FAMILIARISATION OF FILE STRUCTURE IN LINUX SERVER
(Directory structure)
Aim: To familiarize about the file structure in Linux server.
Theory:
About the important subdirectories
/bin : Contain ready-to -run programs(also known as executable)including most
basic Unix Commands asls and cp.
/dev : Contains device files.
/etc : This core system configuration directory contain the user, password, boot,
device, Networking and other setup files. Many items in /etc are specific to
machines hardware.
/home : Holds personal directories for regular user.
/lib : An abbreviation for library, this directory holds library files containing code
that Executables can use. There are two types of libraries static and shared. The
/lib directory Should only contain shared libraries, but other lib directories such as
/usr/lib contain both Varieties as well as other auxiliary files.
/sbin : This directory is similar to the /bin directory. The only difference is that,
this Contains the binaries that can only be run by root or a sudo user.
/usr : User binary and program data contain all the executable files, libraries,
source of most Of the system program.
/usr/bin : Contains basic user commands
/usr/sbin: Contains additional commands for administrator.
/usr/lib: Contains the system libraries.
/usr/share: Contains documentation or common to all libraries.
/usr/local: contains locally installed software and other files.
/tmp: This directory holds temporary files typically cleared on reboot.
/var: This directory is where programs store runtime information like system
logging, user Tracking, caches, and other files that system programs create and
manage.