Thursday, July 28, 2022

Linux Default Directory structure or File structure



The above Shown Directories list is from Amzn-Linux Operating System

 

 /           / is Main directory in Linux O.S we can call it as Root Directory 

bin        bin directory contains Binary files and commands  

boot       boot directory contains all Bootable files and Boot Configuration files 

dev         dev directory contains device files   

etc          etc directory contains All configuration files [system, application, users….]  

home      dev directory contains device files   

lib            lib directory contains System Libraries   

lib64       lib64 directory contains all start-up system libraries   

local       local directory contains  basic information, like the business name, phone number, physical address, and website address 

media    media directory contains subdirectories where removable media devices inserted into the computer are mounted. 

Ex: when you insert a CD into your Linux system, a directory will automatically be created inside the /media directory. You can access the contents of the CD inside this directory. 

opt        opt directory contains all Software which you installed in that server using Linux OS simply we can say it is a reserved directory for all software applications 

proc       Proc directory contains all process information 

root       root directory is subdirectory of / and it contains and act as main directory 

run        run directory of a database is the directory where the database system saves the configuration and log files of the database. 

sbin       sbin  directory  only root user can access it contains files same as bin 

srv         srv directory contain users the location of data files for a particular service, such as FTP, WWW, or CVS…..etc 

sys       sys directory act as a virtual filesystem, which stores and allows modification of the devices connected to the system. /tmp :System's Temporary Directory, Accessible by users and root. 

 tmp    tmp directory contain all temporary files 

usr      usr directory contain all libraries and binaries some database software also installed in this directory 

var     var directory contains all variable files  [like system logs. mails, temp files …..]


Are You Interested To Learn DevOps Book Your Slot Today
Trainer: Subhan Shaik
Contact: +91- 7995165865

No comments:

Post a Comment