• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
184
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
16
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • Screen No:1 Audio Script: Hi welcome to the session, Today we will focus on the topic 鈥淟inux file system Structure鈥 Much like Windows uses NTFS and FAT, Linux has its own file system structure. For older versions of Linux, data is stored on an ext2 format partition. Newer versions use ext3 or ext4, which is functionally identical to ext2 with the addition of journaling. As a practical matter, an ext file system also exists, but it鈥檚 so old that it was deprecated about the time that Minix became Linux and is rare to find in use today. So now in the industry all the server which has Linux installed will have either ext3 or ext4 or Reiser Fs to store and manage the data that users create.
  • Screen No:- 2 Audio script:- Before we start to learn core concepts of Linux file structure. A prior knowledge on Versions of Linux file systems and their features will help you to understand the file system structure. And also knowledge on Linux user related commands will help you to explore the Linux file system. If you don鈥檛 have the knowledge on the said topics I recommend you to gain knowledge and then go through the Linux file system structure.
  • Screen No:- 3 Audio script:- This session will help you to view the structure of Linux file system, gives you the importance of every directory in the Linux file system and let you know how your operating system make use of file systems.
  • Screen No:- 4 Audio script:- The main objective of this session is to explain the Linux file system structure and the importance of each and every directory in the Linux file system structure. Which will help you to understand how your operating system is working with the help of Linux file system structure. So lets get in to the Linux file system structure.
  • Screen No:5 Audio Script: Any file system of Linux family will have the same structure which is shown in the slide with few differences with respect to vendor specifications. If you look at the file system structure, It starts from a single hierarchy which is called as root and designated by 鈥/鈥 (Forward slash). Every thing and any thing in Linux is united under root. Now let鈥檚 explore the Linux file system in detail.
  • Screen No:6 Audio Script: /bin -- /bin stands for Binary. It is the directory which holds the commands and shells which can be used by the normal user as well as administrator. (In Linux we call administrator as ROOT user). The commands here are binary executables . Some eg of shell can be bash and csh. Some eg of commands can be 鈥 ls , grep , tar , kill , echo , ps , cp , mv , rm , cat , gzip , ping , su and the vi text editor鈥 etc. /boot -- /boot contains the boot loader related files to start the system. A boot loader is a program that loads the main operating system for the computer after completion of the self-tests. The highly used Linux boot loader is 鈥淕RUB鈥 which stands for 鈥淕rand Unified Boot Loader鈥 The grub will be present inside the /boot folder. /dev -- /dev which stands for devices. In Linux Operating systems every thing is identified as a file. So even the devices (which are hardware) will be recognized as a file. The hardware can be a keyboard, mouse, usb devices, external or internal hard disk. /etc -- This folder contains the configuration file required by all programs. This directory also contains startup and shutdown shell script used to start individual programs. It contains several configuration files where each configuration file represents a service or an application similar to windows application. Say for Eg:- If you want connect to a network a fixed identity can be given to your system by editing a configuration file by name 鈥渋nterfaces鈥 which is there in etc folder or directory.
  • Screen No:7 Audio Script: /home 鈥 /home is the directory which is a default place for the normal user to do his/her activities. Much like windows OS every user is given an work envirinment to work with ie; every user will have documents, downloads, pictures, desktop etc. The same kind of interface is given for the normal user in Linux in a directory called /home. /lib 鈥 /lib stands for library. When ever a normal user or a root performs any task or action with the help of an OS, The OS will make use of the libraries to do the application in a smoother way. For eg if you want to surf through Internet and you will open Mozilla firefox or any web browser to do this task. When ever you make use of the web browser the OS will intern allocates the necessary libraries for the proper function of web browser. With out libraries the applications will not work properly in the Operating system. The /lib folder contains the libraires which are used by /bin and /sbin where we will be focusing about /sbin later. /mnt 鈥 /mnt stands for mount. It is a temporary place for the user or a root to virtually view the contents of other file systems. Like we already know the Linux supports foreign file systems. Say for instance if your hard disk has got 2 or more different file systems which belongs to window. You can boot through Linux and view the contents of windows file systems. When you do so logically the windows contents will be shown to you in a directory called 鈥榤nt鈥 /media 鈥 Meida is a directory in which you can view the contents of hot swappable devices like usb drives, floppy disks, cd or dvd contents etc.
  • Screen No:8 Audio Script: /opt 鈥 Opt stands for optional which contains third party software鈥檚 developed by different vendors. Third party software鈥檚 are the software鈥檚 which are not supported by the currently installed software(say Linux) but still want to use you can install those software鈥檚 under this directory in linux. For example we all are aware of a popular game NFS (Need for speed Most wanted). This game cannot be installed on Linux OS by default so if you want to play this game in Linux under opt directory. This is how opt directory is used. /proc 鈥 Proc stands for process. This directory contains information about all the process that are currently running in the systems. The CPU information, The RAM information etc. This directory contains the information about the resource information about the system. For eg system up time etc. /root 鈥 Root is a directory which is a default location for the administrator to perform his/her tasks. In Linux the users are divided in to three they are NORMAL USERS, ROOT or ADMINISTRATOR and SYSTEM users. However we cannot login with system users and these are dedicated only for the Operating system. When you login with root account we will be by default send to the root directory whereas when you login with normal user you will be sent to the home directory to do your tasks. /sbin 鈥 Sbin stands for super user bin. This directory contains the commands which can be executed only by the root user. A normal user cannot make use of the commands that are present in the sbin directory. Few commands that are there in sbin is 鈥渇 disk, add user鈥 etc. /tmp 鈥 Tmp stands for temporary. Is a directory which will have the temporary files and also this folder gives a room for a normal user to store his/her data. But the files that are there in this directory will be deleted when the system is rebooted.
  • Screen No:9 Audio Script: /usr 鈥 Usr stands for user. Which contains user related information. Like name, mobile no, email id etc if provided during the time of user creation. This directory even contains binaries, documents and source code for some of the applications. Few binaries that are there in this dorectory is at, awk, less etc. /var 鈥 Var stands for variable. (the name itself conveys that some thing which keeps changing). The files in this directory will change according to the usage of the system. For eg the Linux system is supposed to record all the activities done by the user and the system this is recorded in the form of a file called 鈥渓og鈥 which stands for system logs etc.
  • Screen No:-10 Audio script:- Read the slide
  • Screen No:11 Screen Name: Summary and recap Audio Script: Thank You

Transcript

  • 1. Linux File System Structure
  • 2. Pre requisite 飩桝 prior knowledge on 飩梀ersions of Linux file systems and their features 飩桳inux, user related commands to have hands on with Linux file system structure Will help you understand better about Linux file system structure
  • 3. WIFM 飩桿p on completion of this session you will learn:- 飩桾he structure of Linux file system 飩桾he importance of each directory in the Linux file system 飩桾he way how our OS make use of the file system
  • 4. Objectives 飩桾he main objective of this session is to:- 飩桬xplain the Linux file system structure 飩桬xplain the importance of directories in Linux file system 飩桬xplain the functionalities of an OS with the help of a file system
  • 5. >> Linux FS structure Introduction to Linux 5
  • 6. >> Linux File system structure 飩/bin - Used to store user commands. The files here are all binary executables accessible to all users on the system 飩/boot - Contains the kernel and other files used during system startup 飩/dev - Stores device files. They are either character or block device files 飩/etc - Contains many configuration files and directories Introduction to Linux 6
  • 7. >> Linux File system structure Introduction to Linux 7 飩/home 鈥 it is the default home directory for the normal user 飩/lib- conatins the library files which will be useful for the entire operating system 飩/mnt- a temporary place where a user or a root can virtually view the contents of other file systems 飩/media 鈥 A temporary place for removable or hot swapable devices
  • 8. >> Linux File system structure 飩 /opt 鈥 contains the applications which are developed by different vendors 飩/proc 鈥 contains the information related to different process of the system 飩/root 鈥 Is a directory which is a default place for the administrator 飩/sbin 鈥 contains the commands which are used by the root or the administrator 飩/tmp 鈥 contains the temporary file which can be accessed by all users Introduction to Linux 8
  • 9. >>Linux File system structure 飩/usr 鈥 contains user related information 飩/var 鈥 contains the files which are expected to grow can be found in this directory Introduction to Linux 9
  • 10. Summary 飩 The structure of the various Linux file systems are same with few differences based on the requirements of vendors 飩 The Linux file system structure starts with root (which is designated by a forward slash) 飩 The entire file system is united under the root. 飩 Users are classified as Normal, Admin and System
  • 11. Thank you