SlideShare uma empresa Scribd logo
1 de 44
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
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 LinuxHenry Osborne
 
Linux architecture
Linux architectureLinux architecture
Linux architecturemcganesh
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting ProcessGaurav Sharma
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commandsSagar Kumar
 
Files and directories in Linux 6
Files and directories  in Linux 6Files and directories  in Linux 6
Files and directories in Linux 6Meenakshi Paul
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linuxanandvaidya
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file systemTaaanu01
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systemsvampugani
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanismsDuressa Teshome
 
Linux ppt
Linux pptLinux ppt
Linux pptlincy21
 
Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1) Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1) Ahmed El-Arabawy
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentationnishantsri
 

Mais procurados (20)

Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
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
 
Linux
Linux Linux
Linux
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting Process
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Basics of-linux
Basics of-linuxBasics of-linux
Basics of-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
LinuxLinux
Linux
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systems
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanisms
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1) Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1)
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux Memory Management
Linux Memory ManagementLinux Memory Management
Linux Memory Management
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 

Destaque

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 PresentationSgtMasterGunz
 
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 ppt
File management pptFile management ppt
File management pptmarotti
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File ManagementDamian T. Gordon
 
FHS MOTIVATION PPT
FHS MOTIVATION PPTFHS MOTIVATION PPT
FHS MOTIVATION PPTsetu 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 IT360K.Lakshmi Shankar Davey
 

Destaque (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
 
Presentation on linux
Presentation on linuxPresentation on linux
Presentation on linux
 
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
 

Semelhante a File System Hierarchy

linuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdflinuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdfShaswatSurya
 
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 hiearchysritolia
 
Lamp1
Lamp1Lamp1
Lamp1Reka
 
Lamp
LampLamp
LampReka
 
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 doNizar Fanany
 
Forensic artifacts in modern linux systems
Forensic artifacts in modern linux systemsForensic artifacts in modern linux systems
Forensic artifacts in modern linux systemsGol D Roger
 
Root file system
Root file systemRoot file system
Root file systemBindu U
 
A Quick Introduction to Linux
A Quick Introduction to LinuxA Quick Introduction to Linux
A Quick Introduction to LinuxTusharadri Sarkar
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.pptNikhil Raut
 
linux file sysytem& input and output
linux file sysytem& input and outputlinux file sysytem& input and output
linux file sysytem& input and outputMythiliA5
 
LinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptLinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptmuraridesai2
 
Root file system for embedded systems
Root file system for embedded systemsRoot file system for embedded systems
Root file system for embedded systemsalok pal
 
Linux fs structure (1)
Linux fs structure (1)Linux fs structure (1)
Linux fs structure (1)E. Rahul Naidu
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubDevang Garach
 

Semelhante a 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
 
Lamp1
Lamp1Lamp1
Lamp1
 
Lamp1
Lamp1Lamp1
Lamp1
 
Lamp
LampLamp
Lamp
 
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
 
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)
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and Github
 

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