SlideShare a Scribd company logo
File System Hierarchy

       Srikant Ritolia
     +91-9886579971
 srikant.ritolia@gmail.com

  Linux Users Group, Manipal


    October 17, 2010
Index
1     Origin
2     File System Definition
3     File System Hierarchy Definition
4     Flow Chart
5     /bin
6     /boot
7     /dev
8     /etc
9     /home
10    /media
11    /mnt
12    /opt
13    /root
14    /proc
15    /sbin
16    /tmp
17    /usr
18    /var
    Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   2 / 20
What is File System




     Method of storing and organizing computer files and their data.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   3 / 20
What is File System




     Method of storing and organizing computer files and their data.
     Essentially, it organizes these files into a database for the storage,
     organization, manipulation, and retrieval by the computer’s operating
     system.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy    October 17, 2010   3 / 20
What is File System




     Method of storing and organizing computer files and their data.
     Essentially, it organizes these files into a database for the storage,
     organization, manipulation, and retrieval by the computer’s operating
     system.
     Eg:- fat, ntfs, ext4, ext3.......




 Srikant Ritolia (LUG Manipal)     File System Hierarchy   October 17, 2010   3 / 20
What is file system hierarchy




     To put it simply, it can be visualized as a tree with its roots and all.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy        October 17, 2010   4 / 20
What is file system hierarchy




     To put it simply, it can be visualized as a tree with its roots and all.
     At the top of the hierarchy is invariably the root path which is
     represented by ’/’.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy        October 17, 2010   4 / 20
What is file system hierarchy




     To put it simply, it can be visualized as a tree with its roots and all.
     At the top of the hierarchy is invariably the root path which is
     represented by ’/’.
     All other directories are created beneath this root path in linux.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy        October 17, 2010   4 / 20
Flow Chart




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   5 / 20
/bin




     Bin stands for binary.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   6 / 20
/bin




     Bin stands for binary.
     Contains the useful command which are used by everyone in terminal.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   6 / 20
/bin




     Bin stands for binary.
     Contains the useful command which are used by everyone in terminal.
     Contains shells like bash, csh etc as well as much used commands like
     cp, mv, rm, cat, ls.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy    October 17, 2010   6 / 20
/boot




     Contains the boot loader files.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   7 / 20
/boot




     Contains the boot loader files.
     Grub and linux kernel.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   7 / 20
/dev




     Stands for devices.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   8 / 20
/dev




     Stands for devices.
     Highlights one important characteristic of the Linux filesystem -
     everything is a file or a directory.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy     October 17, 2010   8 / 20
/dev




     Stands for devices.
     Highlights one important characteristic of the Linux filesystem -
     everything is a file or a directory.
     No real subfolder.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy     October 17, 2010   8 / 20
/dev




     Stands for devices.
     Highlights one important characteristic of the Linux filesystem -
     everything is a file or a directory.
     No real subfolder.
     When you first boot up ur computer it detects your hardware and
     place folder and files representing your hardware in the dev directory.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy     October 17, 2010   8 / 20
/etc




     Configuration files get stored.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   9 / 20
/etc




     Configuration files get stored.
     More importantly, the /etc/rc.d directory contains the system startup
     scripts.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy    October 17, 2010   9 / 20
/etc




     Configuration files get stored.
     More importantly, the /etc/rc.d directory contains the system startup
     scripts.
     This is a good directory to backup often. Saves lot of re-configuration
     later if you re-install or lose your current installation.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy     October 17, 2010   9 / 20
/home




     Linux is a multi-user environment so each user is also assigned a
     specific directory which is accessible only to them and the system
     administrator.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   10 / 20
/home




     Linux is a multi-user environment so each user is also assigned a
     specific directory which is accessible only to them and the system
     administrator.
     containing saved files, personal settings, etc.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   10 / 20
/media




     Mount point for removable disk like CDROM, pendrive.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   11 / 20
/mnt




     Mount point for temporary mounted file system.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   12 / 20
/mnt




     Mount point for temporary mounted file system.
     Mounting is the process by which you make a filesystem available to
     the system.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   12 / 20
/opt




     This directory contains all the software and add-on packages that are
     not part of the default installation.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy    October 17, 2010   13 / 20
/opt




     This directory contains all the software and add-on packages that are
     not part of the default installation.
     Again, this directory is not used very often as it’s mostly a standard in
     Unix installations.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy      October 17, 2010   13 / 20
/root




     We talked about user home directories earlier and well this one is the
     home directory of the user root.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy    October 17, 2010   14 / 20
/root




     We talked about user home directories earlier and well this one is the
     home directory of the user root.
     Not to be confused with the system root.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy    October 17, 2010   14 / 20
/proc




     pseudo file system residing in the virtual memory.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   15 / 20
/proc




     pseudo file system residing in the virtual memory.
     maintains highly dynamic data on the state of your operating system.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   15 / 20
/proc




     pseudo file system residing in the virtual memory.
     maintains highly dynamic data on the state of your operating system.
     a new /proc file system is created every time your Linux machine
     reboots.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   15 / 20
/proc




     pseudo file system residing in the virtual memory.
     maintains highly dynamic data on the state of your operating system.
     a new /proc file system is created every time your Linux machine
     reboots.
     Everything regarding your hardware like bluetooth, different slots, bus
     etc. is stored in it.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy    October 17, 2010   15 / 20
/sbin




     Contains binary (executable) files, usually for system administration.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy    October 17, 2010   16 / 20
/sbin




     Contains binary (executable) files, usually for system administration.
     This directory contains all the binaries that are essential to the
     working of the system.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy       October 17, 2010   16 / 20
/tmp




     This directory contains mostly files that are required temporarily.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy     October 17, 2010   17 / 20
/tmp




     This directory contains mostly files that are required temporarily.
     This directory is cleared out at boot or at shutdown.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy       October 17, 2010   17 / 20
/usr




     Unix System Resources




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   18 / 20
/usr




     Unix System Resources
     Lot of subdirectories




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   18 / 20
/usr




     Unix System Resources
     Lot of subdirectories
     Shared data, library, binary, application will be located.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy       October 17, 2010   18 / 20
/usr




     Unix System Resources
     Lot of subdirectories
     Shared data, library, binary, application will be located.
     Secondary hierarchy for read-only user data; contains the majority of
     (multi-)user utilities and applications.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy       October 17, 2010   18 / 20
/var




     Variable files whose content is expected to continually change during
     normal operation of the systemsuch as logs, spool files, and
     temporary e-mail files. Sometimes a separate partition.




 Srikant Ritolia (LUG Manipal)   File System Hierarchy   October 17, 2010   19 / 20
Thank You!!!




Srikant Ritolia (LUG Manipal)   File System Hierarchy     October 17, 2010   20 / 20

More Related Content

What's hot

Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory Structure
Kevin OBrien
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
nishantsri
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
Taaanu01
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
Goutam Sahoo
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting Process
Gaurav Sharma
 
package mangement
package mangementpackage mangement
package mangement
ARYA TM
 
Linux process management
Linux process managementLinux process management
Linux process managementRaghu nath
 
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
 
User management
User managementUser management
User management
Mufaddal Haidermota
 
Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
Md. Zahid Hossain Shoeb
 
Linux distributions
Linux    distributionsLinux    distributions
Linux distributions
RJ Mehul Gadhiya
 
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 Boot Process
Linux Boot ProcessLinux Boot Process
Linux Boot Process
darshhingu
 
Presentation on linux
Presentation on linuxPresentation on linux
Presentation on linux
Veeral Bhateja
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
Henry Osborne
 
Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)
Tushar B Kute
 
Linux presentation
Linux presentationLinux presentation
Linux presentationNikhil Jain
 

What's hot (20)

Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory Structure
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
Linux
Linux Linux
Linux
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting Process
 
package mangement
package mangementpackage mangement
package mangement
 
Linux process management
Linux process managementLinux process management
Linux process management
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistry
 
User management
User managementUser management
User management
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
 
Linux distributions
Linux    distributionsLinux    distributions
Linux distributions
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
 
Linux Boot Process
Linux Boot ProcessLinux Boot Process
Linux Boot Process
 
Presentation on linux
Presentation on linuxPresentation on linux
Presentation on linux
 
Introduction to Linux
Introduction to LinuxIntroduction to Linux
Introduction to Linux
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 
Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 

Viewers also liked

File system
File systemFile system
File system
Harleen Johal
 
The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structureTeja Bheemanapally
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
onu9
 
File system.
File system.File system.
File system.
elyza12
 
File Management Presentation
File Management PresentationFile Management Presentation
File Management Presentation
SgtMasterGunz
 
File management
File managementFile management
File managementMohd Arif
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating systemtittuajay
 
Introduction to Linux OS
Introduction to Linux OSIntroduction to Linux OS
Introduction to Linux OSMohammed Safwat
 
File management
File managementFile management
File management
Vishal Singh
 
File management ppt
File management pptFile management ppt
File management pptmarotti
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File Management
Damian T. Gordon
 
FHS MOTIVATION PPT
FHS MOTIVATION PPTFHS MOTIVATION PPT
FHS MOTIVATION PPT
setu mehta
 
User Management and Role Management in IT360
User Management and Role Management in IT360User Management and Role Management in IT360
User Management and Role Management in IT360
K.Lakshmi Shankar Davey
 
Filepermissions in linux
Filepermissions in linuxFilepermissions in linux
Filepermissions in linux
Subashini Pandiarajan
 
Handling Page Fault
Handling Page FaultHandling Page Fault
Handling Page Fault
guestb7dc8e
 

Viewers also liked (20)

File system
File systemFile system
File system
 
The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structure
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
File system.
File system.File system.
File system.
 
Linux File System
Linux File SystemLinux File System
Linux File System
 
File system
File systemFile system
File system
 
File Management Presentation
File Management PresentationFile Management Presentation
File Management Presentation
 
File Management
File ManagementFile Management
File Management
 
File management
File managementFile management
File management
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Introduction to Linux OS
Introduction to Linux OSIntroduction to Linux OS
Introduction to Linux OS
 
File management
File managementFile management
File management
 
File management ppt
File management pptFile management ppt
File management ppt
 
Memory management
Memory managementMemory management
Memory management
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File Management
 
FHS MOTIVATION PPT
FHS MOTIVATION PPTFHS MOTIVATION PPT
FHS MOTIVATION PPT
 
User Management and Role Management in IT360
User Management and Role Management in IT360User Management and Role Management in IT360
User Management and Role Management in IT360
 
Filepermissions in linux
Filepermissions in linuxFilepermissions in linux
Filepermissions in linux
 
Deadlock
DeadlockDeadlock
Deadlock
 
Handling Page Fault
Handling Page FaultHandling Page Fault
Handling Page Fault
 

Similar to File System Hierarchy

linuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdflinuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdf
ShaswatSurya
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
norhloudspeaker
 
TLPI Chapter 14 File Systems
TLPI Chapter 14 File SystemsTLPI Chapter 14 File Systems
TLPI Chapter 14 File SystemsShu-Yu Fu
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchy
sritolia
 
Lamp
LampLamp
LampReka
 
Lamp1
Lamp1Lamp1
Lamp1Reka
 
Linux basics
Linux basicsLinux basics
Linux basicsDeepa
 
File system is full - what do i do
File system is full - what do i doFile system is full - what do i do
File system is full - what do i do
Nizar Fanany
 
Forensic artifacts in modern linux systems
Forensic artifacts in modern linux systemsForensic artifacts in modern linux systems
Forensic artifacts in modern linux systems
Gol D Roger
 
Root file system
Root file systemRoot file system
Root file system
Bindu U
 
A Quick Introduction to Linux
A Quick Introduction to LinuxA Quick Introduction to Linux
A Quick Introduction to Linux
Tusharadri Sarkar
 
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
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
Nikhil Raut
 
linux file sysytem& input and output
linux file sysytem& input and outputlinux file sysytem& input and output
linux file sysytem& input and output
MythiliA5
 
LinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptLinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.ppt
muraridesai2
 
Root file system for embedded systems
Root file system for embedded systemsRoot file system for embedded systems
Root file system for embedded systems
alok pal
 
Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
Vibrant Technologies & Computers
 
Linux fs structure (1)
Linux fs structure (1)Linux fs structure (1)
Linux fs structure (1)E. Rahul Naidu
 

Similar to File System Hierarchy (20)

linuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdflinuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdf
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
 
TLPI Chapter 14 File Systems
TLPI Chapter 14 File SystemsTLPI Chapter 14 File Systems
TLPI Chapter 14 File Systems
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchy
 
Lamp
LampLamp
Lamp
 
Lamp1
Lamp1Lamp1
Lamp1
 
Lamp1
Lamp1Lamp1
Lamp1
 
Linux basics
Linux basicsLinux basics
Linux basics
 
File system is full - what do i do
File system is full - what do i doFile system is full - what do i do
File system is full - what do i do
 
Forensic artifacts in modern linux systems
Forensic artifacts in modern linux systemsForensic artifacts in modern linux systems
Forensic artifacts in modern linux systems
 
Root file system
Root file systemRoot file system
Root file system
 
A Quick Introduction to Linux
A Quick Introduction to LinuxA Quick Introduction to Linux
A Quick Introduction to Linux
 
Files and directories in Linux 6
Files and directories  in Linux 6Files and directories  in Linux 6
Files and directories in Linux 6
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
 
linux file sysytem& input and output
linux file sysytem& input and outputlinux file sysytem& input and output
linux file sysytem& input and output
 
LinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptLinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.ppt
 
Root file system for embedded systems
Root file system for embedded systemsRoot file system for embedded systems
Root file system for embedded systems
 
Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
 
File system discovery
File system discovery File system discovery
File system discovery
 
Linux fs structure (1)
Linux fs structure (1)Linux fs structure (1)
Linux fs structure (1)
 

File System Hierarchy

  • 1. File System Hierarchy Srikant Ritolia +91-9886579971 srikant.ritolia@gmail.com Linux Users Group, Manipal October 17, 2010
  • 2. Index 1 Origin 2 File System Definition 3 File System Hierarchy Definition 4 Flow Chart 5 /bin 6 /boot 7 /dev 8 /etc 9 /home 10 /media 11 /mnt 12 /opt 13 /root 14 /proc 15 /sbin 16 /tmp 17 /usr 18 /var Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 2 / 20
  • 3. What is File System Method of storing and organizing computer files and their data. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 3 / 20
  • 4. What is File System Method of storing and organizing computer files and their data. Essentially, it organizes these files into a database for the storage, organization, manipulation, and retrieval by the computer’s operating system. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 3 / 20
  • 5. What is File System Method of storing and organizing computer files and their data. Essentially, it organizes these files into a database for the storage, organization, manipulation, and retrieval by the computer’s operating system. Eg:- fat, ntfs, ext4, ext3....... Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 3 / 20
  • 6. What is file system hierarchy To put it simply, it can be visualized as a tree with its roots and all. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 4 / 20
  • 7. What is file system hierarchy To put it simply, it can be visualized as a tree with its roots and all. At the top of the hierarchy is invariably the root path which is represented by ’/’. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 4 / 20
  • 8. What is file system hierarchy To put it simply, it can be visualized as a tree with its roots and all. At the top of the hierarchy is invariably the root path which is represented by ’/’. All other directories are created beneath this root path in linux. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 4 / 20
  • 9. Flow Chart Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 5 / 20
  • 10. /bin Bin stands for binary. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 6 / 20
  • 11. /bin Bin stands for binary. Contains the useful command which are used by everyone in terminal. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 6 / 20
  • 12. /bin Bin stands for binary. Contains the useful command which are used by everyone in terminal. Contains shells like bash, csh etc as well as much used commands like cp, mv, rm, cat, ls. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 6 / 20
  • 13. /boot Contains the boot loader files. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 7 / 20
  • 14. /boot Contains the boot loader files. Grub and linux kernel. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 7 / 20
  • 15. /dev Stands for devices. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 8 / 20
  • 16. /dev Stands for devices. Highlights one important characteristic of the Linux filesystem - everything is a file or a directory. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 8 / 20
  • 17. /dev Stands for devices. Highlights one important characteristic of the Linux filesystem - everything is a file or a directory. No real subfolder. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 8 / 20
  • 18. /dev Stands for devices. Highlights one important characteristic of the Linux filesystem - everything is a file or a directory. No real subfolder. When you first boot up ur computer it detects your hardware and place folder and files representing your hardware in the dev directory. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 8 / 20
  • 19. /etc Configuration files get stored. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 9 / 20
  • 20. /etc Configuration files get stored. More importantly, the /etc/rc.d directory contains the system startup scripts. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 9 / 20
  • 21. /etc Configuration files get stored. More importantly, the /etc/rc.d directory contains the system startup scripts. This is a good directory to backup often. Saves lot of re-configuration later if you re-install or lose your current installation. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 9 / 20
  • 22. /home Linux is a multi-user environment so each user is also assigned a specific directory which is accessible only to them and the system administrator. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 10 / 20
  • 23. /home Linux is a multi-user environment so each user is also assigned a specific directory which is accessible only to them and the system administrator. containing saved files, personal settings, etc. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 10 / 20
  • 24. /media Mount point for removable disk like CDROM, pendrive. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 11 / 20
  • 25. /mnt Mount point for temporary mounted file system. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 12 / 20
  • 26. /mnt Mount point for temporary mounted file system. Mounting is the process by which you make a filesystem available to the system. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 12 / 20
  • 27. /opt This directory contains all the software and add-on packages that are not part of the default installation. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 13 / 20
  • 28. /opt This directory contains all the software and add-on packages that are not part of the default installation. Again, this directory is not used very often as it’s mostly a standard in Unix installations. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 13 / 20
  • 29. /root We talked about user home directories earlier and well this one is the home directory of the user root. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 14 / 20
  • 30. /root We talked about user home directories earlier and well this one is the home directory of the user root. Not to be confused with the system root. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 14 / 20
  • 31. /proc pseudo file system residing in the virtual memory. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 15 / 20
  • 32. /proc pseudo file system residing in the virtual memory. maintains highly dynamic data on the state of your operating system. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 15 / 20
  • 33. /proc pseudo file system residing in the virtual memory. maintains highly dynamic data on the state of your operating system. a new /proc file system is created every time your Linux machine reboots. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 15 / 20
  • 34. /proc pseudo file system residing in the virtual memory. maintains highly dynamic data on the state of your operating system. a new /proc file system is created every time your Linux machine reboots. Everything regarding your hardware like bluetooth, different slots, bus etc. is stored in it. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 15 / 20
  • 35. /sbin Contains binary (executable) files, usually for system administration. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 16 / 20
  • 36. /sbin Contains binary (executable) files, usually for system administration. This directory contains all the binaries that are essential to the working of the system. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 16 / 20
  • 37. /tmp This directory contains mostly files that are required temporarily. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 17 / 20
  • 38. /tmp This directory contains mostly files that are required temporarily. This directory is cleared out at boot or at shutdown. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 17 / 20
  • 39. /usr Unix System Resources Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 18 / 20
  • 40. /usr Unix System Resources Lot of subdirectories Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 18 / 20
  • 41. /usr Unix System Resources Lot of subdirectories Shared data, library, binary, application will be located. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 18 / 20
  • 42. /usr Unix System Resources Lot of subdirectories Shared data, library, binary, application will be located. Secondary hierarchy for read-only user data; contains the majority of (multi-)user utilities and applications. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 18 / 20
  • 43. /var Variable files whose content is expected to continually change during normal operation of the systemsuch as logs, spool files, and temporary e-mail files. Sometimes a separate partition. Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 19 / 20
  • 44. Thank You!!! Srikant Ritolia (LUG Manipal) File System Hierarchy October 17, 2010 20 / 20