SlideShare a Scribd company logo
Topic : Linux File Structure and Hierarchy
The Linux File Hierarchy Structure or the Filesystem
Hierarchy Standard (FHS) defines the directory structure and
directory contents in Unix-like operating systems.
In FHS,
• all files and directories appear under the root directory /,
even if they are stored on different physical or virtual
devices.
Linux File Structure & Hierarchy
It is a Primary Hierarchy.The root
directory of the entire file system
hierarchy.
• Every single file and directory
starts from the root directory.
• The only root user has the right to
write under this directory.
• /root is the root user’s home
directory, which is not the same
as /
Linux File Structure & Hierarchy
1. / or Root
Essential command binaries that
need to be available in single-user
mode; for all users, e.g., cat, ls, cp.
• Contains binary executables.
• Commands used by all the
users of the system are located
here e.g. ps, ls, ping, grep, cp.
Linux File Structure & Hierarchy
2. /bin
Boot loader files, e.g., kernels, initrd.
• Kernel initrd, vmlinux, grub files
are located under /boot
Linux File Structure & Hierarchy
3. /boot
Essential device files, e.g. /dev/null. .
• These include terminal devices,
usb, or any device attached to
the system.
Linux File Structure & Hierarchy
4. /dev
Host-specific system-wide
configuration files.
• Contains configuration files
required by all programs.
• This also contains startup and
shutdown shell scripts used to
start/stop individual programs.
Linux File Structure & Hierarchy
5. /etc
Host-specific system-wide configuration files.
• Contains configuration files required by all
programs.
• This also contains startup and shutdown
shell scripts used to start/stop individual
programs.
Linux File Structure & Hierarchy
6. /home
Libraries essential for the binaries in
/bin/ and /sbin/.
Linux File Structure & Hierarchy
7. /lib
It shows removable media such as
CD-ROMs,USBs etc.
Linux File Structure & Hierarchy
8. /media
Temporary mount directory where
sysadmins can mount filesystems.
Linux File Structure & Hierarchy
9. /mnt
Optional application software
packages.
Contains add-on applications from
individual vendors.
Linux File Structure & Hierarchy
10. /opt
Essential system binaries, e.g., fsck, init,
route.
• Just like /bin, /sbin also contains
binary executables.
• The linux commands located under
this directory are used typically by
system administrator, for system
maintenance purpose.
Linux File Structure & Hierarchy
11. /sbin
Site-specific data served by this
system, such as data and scripts for
web servers, data offered by FTP
servers, and repositories for version
control systems.
Linux File Structure & Hierarchy
12. /srv
It is a directory that contains
temporary files created by the system
and users.
Files under this directory are deleted
when the system is rebooted.
Linux File Structure & Hierarchy
13. /tmp
Secondary hierarchy for read-only user data;
contains the majority of (multi-)user utilities
and applications.
It contains:
• /usr/bin –binary files for user program.
• /usr/sbin –binary file for system admins.
• /usr/lib- libraries for usr/bin and usr/sbin
• /usr/local – programs we install from
source.
• /usr/src – holds Linux kernel
sources,header- files and documentation.
Linux File Structure & Hierarchy
14. /usr
/usr/bin contains binary files for user
programs.
Linux File Structure & Hierarchy
14.1 /usr/bin
/usr/sbin contains binary files for system
administrators.
Linux File Structure & Hierarchy
14.2 /usr/sbin
/usr/lib contains libraries for /usr/bin and
/usr/sbin
Linux File Structure & Hierarchy
14.3 /usr/lib
/usr/local contains users programs that
we install from source. For example, when
we install apache from source, it goes
under /usr/local/apache2
Linux File Structure & Hierarchy
14.4 /usr/local
/usr/src holds the Linux kernel sources,
header files, and documentation.
Linux File Structure & Hierarchy
14.5 /usr/src
• Contains information about the system
process.
• This is a pseudo filesystem that
contains information about the running
process.
• This is a virtual filesystem with text
information about system resources.
Linux File Structure & Hierarchy
15. /proc
It is a temporary filesystem (tmpfs) that
stores volatile runtime data.
Linux File Structure & Hierarchy
16. /run
ThankYou!!!
Ad

More Related Content

Similar to Lab 5 Linux File Structure and Hierarchy.pptx (20)

12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OS
Hameda Hurmat
 
12-introductiontolinuxos-190907073928
12-introductiontolinuxos-19090707392812-introductiontolinuxos-190907073928
12-introductiontolinuxos-190907073928
SahilNegi60
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchy
sritolia
 
File system discovery
File system discovery File system discovery
File system discovery
DevMix
 
Files and directories in Linux 6
Files and directories  in Linux 6Files and directories  in Linux 6
Files and directories in Linux 6
Meenakshi Paul
 
File system discovery
File system discovery File system discovery
File system discovery
MOHAMED Elshawaf
 
The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structure
Teja Bheemanapally
 
managing-the-linux-file-system_suse_.ppt
managing-the-linux-file-system_suse_.pptmanaging-the-linux-file-system_suse_.ppt
managing-the-linux-file-system_suse_.ppt
submarinoaguadulce1
 
managing-the-linux-file-system________________________
managing-the-linux-file-system________________________managing-the-linux-file-system________________________
managing-the-linux-file-system________________________
saurabhbquest
 
Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
Vibrant Technologies & Computers
 
linux fundamentals basic commands prepration
linux fundamentals basic commands preprationlinux fundamentals basic commands prepration
linux fundamentals basic commands prepration
sanjeeva11
 
Linux file system
Linux file systemLinux file system
Linux file system
Md. Tanvir Hossain
 
linuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdflinuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdf
ShaswatSurya
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
Sadia Bashir
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
Nikhil Raut
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistry
JITU MISTRY
 
unit-1key fetures of linux of destubtions.pptx
unit-1key fetures of linux of destubtions.pptxunit-1key fetures of linux of destubtions.pptx
unit-1key fetures of linux of destubtions.pptx
jadavDinesh3
 
linux-file-system01.ppt
linux-file-system01.pptlinux-file-system01.ppt
linux-file-system01.ppt
MeesanRaza
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
Raghu nath
 
Operating Systems: Linux in Detail
Operating Systems: Linux in DetailOperating Systems: Linux in Detail
Operating Systems: Linux in Detail
Damian T. Gordon
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OS
Hameda Hurmat
 
12-introductiontolinuxos-190907073928
12-introductiontolinuxos-19090707392812-introductiontolinuxos-190907073928
12-introductiontolinuxos-190907073928
SahilNegi60
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchy
sritolia
 
File system discovery
File system discovery File system discovery
File system discovery
DevMix
 
Files and directories in Linux 6
Files and directories  in Linux 6Files and directories  in Linux 6
Files and directories in Linux 6
Meenakshi Paul
 
The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structure
Teja Bheemanapally
 
managing-the-linux-file-system_suse_.ppt
managing-the-linux-file-system_suse_.pptmanaging-the-linux-file-system_suse_.ppt
managing-the-linux-file-system_suse_.ppt
submarinoaguadulce1
 
managing-the-linux-file-system________________________
managing-the-linux-file-system________________________managing-the-linux-file-system________________________
managing-the-linux-file-system________________________
saurabhbquest
 
linux fundamentals basic commands prepration
linux fundamentals basic commands preprationlinux fundamentals basic commands prepration
linux fundamentals basic commands prepration
sanjeeva11
 
linuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdflinuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdf
ShaswatSurya
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
Sadia Bashir
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
Nikhil Raut
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistry
JITU MISTRY
 
unit-1key fetures of linux of destubtions.pptx
unit-1key fetures of linux of destubtions.pptxunit-1key fetures of linux of destubtions.pptx
unit-1key fetures of linux of destubtions.pptx
jadavDinesh3
 
linux-file-system01.ppt
linux-file-system01.pptlinux-file-system01.ppt
linux-file-system01.ppt
MeesanRaza
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
Raghu nath
 
Operating Systems: Linux in Detail
Operating Systems: Linux in DetailOperating Systems: Linux in Detail
Operating Systems: Linux in Detail
Damian T. Gordon
 

More from Ciceer Ghimirey (8)

Classification-Support Vector Machines.pptx
Classification-Support Vector Machines.pptxClassification-Support Vector Machines.pptx
Classification-Support Vector Machines.pptx
Ciceer Ghimirey
 
Machine Vision Concepts ,Application & Components.pptx
Machine Vision Concepts ,Application & Components.pptxMachine Vision Concepts ,Application & Components.pptx
Machine Vision Concepts ,Application & Components.pptx
Ciceer Ghimirey
 
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptxLab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Ciceer Ghimirey
 
Lab 3 -Linux Files, Directories and Basic Commands.pptx
Lab 3 -Linux Files, Directories and Basic Commands.pptxLab 3 -Linux Files, Directories and Basic Commands.pptx
Lab 3 -Linux Files, Directories and Basic Commands.pptx
Ciceer Ghimirey
 
Install Linux OS in Virtual Box.pptx
Install Linux OS in Virtual Box.pptxInstall Linux OS in Virtual Box.pptx
Install Linux OS in Virtual Box.pptx
Ciceer Ghimirey
 
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx
 Install LAMP Stack  in Linux Server OS and Hosting a Custom Domain .pptx Install LAMP Stack  in Linux Server OS and Hosting a Custom Domain .pptx
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx
Ciceer Ghimirey
 
Complete WordPress Setup (Description about Themes & Plugins Added)
Complete WordPress Setup (Description about Themes & Plugins Added)Complete WordPress Setup (Description about Themes & Plugins Added)
Complete WordPress Setup (Description about Themes & Plugins Added)
Ciceer Ghimirey
 
WordPress Introduction and WordPress Theme Installation Slides
WordPress Introduction and WordPress Theme Installation SlidesWordPress Introduction and WordPress Theme Installation Slides
WordPress Introduction and WordPress Theme Installation Slides
Ciceer Ghimirey
 
Classification-Support Vector Machines.pptx
Classification-Support Vector Machines.pptxClassification-Support Vector Machines.pptx
Classification-Support Vector Machines.pptx
Ciceer Ghimirey
 
Machine Vision Concepts ,Application & Components.pptx
Machine Vision Concepts ,Application & Components.pptxMachine Vision Concepts ,Application & Components.pptx
Machine Vision Concepts ,Application & Components.pptx
Ciceer Ghimirey
 
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptxLab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Ciceer Ghimirey
 
Lab 3 -Linux Files, Directories and Basic Commands.pptx
Lab 3 -Linux Files, Directories and Basic Commands.pptxLab 3 -Linux Files, Directories and Basic Commands.pptx
Lab 3 -Linux Files, Directories and Basic Commands.pptx
Ciceer Ghimirey
 
Install Linux OS in Virtual Box.pptx
Install Linux OS in Virtual Box.pptxInstall Linux OS in Virtual Box.pptx
Install Linux OS in Virtual Box.pptx
Ciceer Ghimirey
 
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx
 Install LAMP Stack  in Linux Server OS and Hosting a Custom Domain .pptx Install LAMP Stack  in Linux Server OS and Hosting a Custom Domain .pptx
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx
Ciceer Ghimirey
 
Complete WordPress Setup (Description about Themes & Plugins Added)
Complete WordPress Setup (Description about Themes & Plugins Added)Complete WordPress Setup (Description about Themes & Plugins Added)
Complete WordPress Setup (Description about Themes & Plugins Added)
Ciceer Ghimirey
 
WordPress Introduction and WordPress Theme Installation Slides
WordPress Introduction and WordPress Theme Installation SlidesWordPress Introduction and WordPress Theme Installation Slides
WordPress Introduction and WordPress Theme Installation Slides
Ciceer Ghimirey
 
Ad

Recently uploaded (20)

Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Ad

Lab 5 Linux File Structure and Hierarchy.pptx

  • 1. Topic : Linux File Structure and Hierarchy
  • 2. The Linux File Hierarchy Structure or the Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Unix-like operating systems. In FHS, • all files and directories appear under the root directory /, even if they are stored on different physical or virtual devices. Linux File Structure & Hierarchy
  • 3. It is a Primary Hierarchy.The root directory of the entire file system hierarchy. • Every single file and directory starts from the root directory. • The only root user has the right to write under this directory. • /root is the root user’s home directory, which is not the same as / Linux File Structure & Hierarchy 1. / or Root
  • 4. Essential command binaries that need to be available in single-user mode; for all users, e.g., cat, ls, cp. • Contains binary executables. • Commands used by all the users of the system are located here e.g. ps, ls, ping, grep, cp. Linux File Structure & Hierarchy 2. /bin
  • 5. Boot loader files, e.g., kernels, initrd. • Kernel initrd, vmlinux, grub files are located under /boot Linux File Structure & Hierarchy 3. /boot
  • 6. Essential device files, e.g. /dev/null. . • These include terminal devices, usb, or any device attached to the system. Linux File Structure & Hierarchy 4. /dev
  • 7. Host-specific system-wide configuration files. • Contains configuration files required by all programs. • This also contains startup and shutdown shell scripts used to start/stop individual programs. Linux File Structure & Hierarchy 5. /etc
  • 8. Host-specific system-wide configuration files. • Contains configuration files required by all programs. • This also contains startup and shutdown shell scripts used to start/stop individual programs. Linux File Structure & Hierarchy 6. /home
  • 9. Libraries essential for the binaries in /bin/ and /sbin/. Linux File Structure & Hierarchy 7. /lib
  • 10. It shows removable media such as CD-ROMs,USBs etc. Linux File Structure & Hierarchy 8. /media
  • 11. Temporary mount directory where sysadmins can mount filesystems. Linux File Structure & Hierarchy 9. /mnt
  • 12. Optional application software packages. Contains add-on applications from individual vendors. Linux File Structure & Hierarchy 10. /opt
  • 13. Essential system binaries, e.g., fsck, init, route. • Just like /bin, /sbin also contains binary executables. • The linux commands located under this directory are used typically by system administrator, for system maintenance purpose. Linux File Structure & Hierarchy 11. /sbin
  • 14. Site-specific data served by this system, such as data and scripts for web servers, data offered by FTP servers, and repositories for version control systems. Linux File Structure & Hierarchy 12. /srv
  • 15. It is a directory that contains temporary files created by the system and users. Files under this directory are deleted when the system is rebooted. Linux File Structure & Hierarchy 13. /tmp
  • 16. Secondary hierarchy for read-only user data; contains the majority of (multi-)user utilities and applications. It contains: • /usr/bin –binary files for user program. • /usr/sbin –binary file for system admins. • /usr/lib- libraries for usr/bin and usr/sbin • /usr/local – programs we install from source. • /usr/src – holds Linux kernel sources,header- files and documentation. Linux File Structure & Hierarchy 14. /usr
  • 17. /usr/bin contains binary files for user programs. Linux File Structure & Hierarchy 14.1 /usr/bin
  • 18. /usr/sbin contains binary files for system administrators. Linux File Structure & Hierarchy 14.2 /usr/sbin
  • 19. /usr/lib contains libraries for /usr/bin and /usr/sbin Linux File Structure & Hierarchy 14.3 /usr/lib
  • 20. /usr/local contains users programs that we install from source. For example, when we install apache from source, it goes under /usr/local/apache2 Linux File Structure & Hierarchy 14.4 /usr/local
  • 21. /usr/src holds the Linux kernel sources, header files, and documentation. Linux File Structure & Hierarchy 14.5 /usr/src
  • 22. • Contains information about the system process. • This is a pseudo filesystem that contains information about the running process. • This is a virtual filesystem with text information about system resources. Linux File Structure & Hierarchy 15. /proc
  • 23. It is a temporary filesystem (tmpfs) that stores volatile runtime data. Linux File Structure & Hierarchy 16. /run