SlideShare une entreprise Scribd logo
1  sur  15
LINUX OPERATING
SYSTEM
Amar Jukuntla
Content
Introduction
Linux File System
Linux Directory Tree
Absolute Vs Relative Path
Introduction
An operating system is an
software which operates your
computer.
Linux
 Open source
 Free of cost
 All software products for linux
is free
 Office
 Games
 Video editors
 More desktop environments
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 3
Linux File System
 Tree like structure
 AKA Directory Tree
 What is a folder?
 A folder that stores multiple specific files.
 Used to organize information.
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 4
The Directory Tree
• Pretty much similar to a family tree.
• Each directory of file has exactly one
parent.
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 5
Continue…
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 6
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 7
binary Directory(/bin)
• Bin directory which stands for binary.
• This directory contains executable programs and commands that can
be used by all the users present in the system.
• Opt is an another directory.
• Opt stands for optional.
• This directory contains commercial software products, not installed by your system.
/opt Directory
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 8
home Directory(/home)
• It contains all folders like desktop, documents.
• A user can store any thing in home directory.
• tmp is an another directory.
• tmp stands for temporary files.
• Many programs use this to create lock files and for temporary storage of data. Do not remove
files from this directory unless you know exactly what you are doing!
/tmp Directory
/sbin Directory
• System commands live here.
• /sbin is a standard subdirectory of the root directory in Linux and other Unix-like operating systems that
contains executable (i.e., ready to run) programs.
• They are mostly administrative tools, that should be made available only to the root (i.e., administrative) user.
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 9
var Directory(/var)
• Var stands for variable data.
• It contains variable data. Data that frequently changes over time.
• It includes look files, mails etc…
• It holds all configuration files for the system.
/etc Directory
/lib Directory
• It holds all library files like windows. Example: DLL files in windows
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 10
Continue…
• Linux is a multi user environment.
• Which means that, multiple users can use system
simultaneously.
• Each user given a directory under home directory.
• So a user can store any thing in home directory.
• Current directory is represented with single dot (.)
• Parent directory represented with double dot.(..)
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 11
Absolute vs Relative paths
• An absolute path begins with the root directory and follows
the follows the directory tree branch by branch until desired
directory or file is completed.
• Example: /home/amar/documents/phone.txt
• A relative path starts with the current working directory.
• Example: ./documents/phone.txt
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 12
Continue…
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 13
Recap
 Operating System is a collection of different types of programs.
 An operating system is an software which operates your computer.
 LINUX is a open source operating system, free of cost.
 Linux  Directory, Windows Folder.
 Directory is a tree like structure.
 Absolute path is starts from origin, relative path starts from current directory.
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 14
Next Session
 Different types of Files in LINUX
 System Calls
 Intermediate File Management
L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 15

Contenu connexe

Tendances

Linux file system nevigation
Linux file system nevigationLinux file system nevigation
Linux file system nevigationhetaldobariya
 
Files and directories in Linux 6
Files and directories  in Linux 6Files and directories  in Linux 6
Files and directories in Linux 6Meenakshi Paul
 
Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory StructureKevin OBrien
 
File System Hierarchy
File System HierarchyFile System Hierarchy
File System Hierarchysritolia
 
Xfs file system for linux
Xfs file system for linuxXfs file system for linux
Xfs file system for linuxAjay Sood
 
Linux and windows file system
Linux and windows  file systemLinux and windows  file system
Linux and windows file systemlin yucheng
 
The evolution of linux file system
The evolution of linux file systemThe evolution of linux file system
The evolution of linux file systemGang He
 
File system.
File system.File system.
File system.elyza12
 
Part 03 File System Implementation in Linux
Part 03 File System Implementation in LinuxPart 03 File System Implementation in Linux
Part 03 File System Implementation in LinuxTushar B Kute
 
Management file and directory in linux
Management file and directory in linuxManagement file and directory in linux
Management file and directory in linuxZkre Saleh
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistryJITU MISTRY
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating systemtittuajay
 
File system Os
File system OsFile system Os
File system OsNehal Naik
 
Operating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsOperating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsMukesh Chinta
 

Tendances (20)

Linux file system nevigation
Linux file system nevigationLinux file system nevigation
Linux file system nevigation
 
Files and directories in Linux 6
Files and directories  in Linux 6Files and directories  in Linux 6
Files and directories in Linux 6
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory Structure
 
File System Hierarchy
File System HierarchyFile System Hierarchy
File System Hierarchy
 
Xfs file system for linux
Xfs file system for linuxXfs file system for linux
Xfs file system for linux
 
Linux and windows file system
Linux and windows  file systemLinux and windows  file system
Linux and windows file system
 
The evolution of linux file system
The evolution of linux file systemThe evolution of linux file system
The evolution of linux file system
 
File system.
File system.File system.
File system.
 
Part 03 File System Implementation in Linux
Part 03 File System Implementation in LinuxPart 03 File System Implementation in Linux
Part 03 File System Implementation in Linux
 
Management file and directory in linux
Management file and directory in linuxManagement file and directory in linux
Management file and directory in linux
 
Vfs
VfsVfs
Vfs
 
Linux course fhs file hierarchy standard
Linux   course   fhs file hierarchy standardLinux   course   fhs file hierarchy standard
Linux course fhs file hierarchy standard
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistry
 
Unix training session 1
Unix training   session 1Unix training   session 1
Unix training session 1
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
File system Os
File system OsFile system Os
File system Os
 
Operating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsOperating Systems - Implementing File Systems
Operating Systems - Implementing File Systems
 
File Management
File ManagementFile Management
File Management
 
File system
File systemFile system
File system
 

Similaire à Linux Directory System: Introduction

12-introductiontolinuxos-190907073928
12-introductiontolinuxos-19090707392812-introductiontolinuxos-190907073928
12-introductiontolinuxos-190907073928SahilNegi60
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OSHameda Hurmat
 
Operating systems unix
Operating systems   unixOperating systems   unix
Operating systems unixAchu dhan
 
Linux basics
Linux basicsLinux basics
Linux basicsDeepa
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-oshomeworkping3
 
File system discovery
File system discovery File system discovery
File system discovery DevMix
 
Network and System Administration Power Point
Network and System Administration Power PointNetwork and System Administration Power Point
Network and System Administration Power Pointkemal678348
 
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Tushar B Kute
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchysritolia
 
LinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptLinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptmuraridesai2
 
Raspberry pi introduction
Raspberry pi introductionRaspberry pi introduction
Raspberry pi introductionLusiana Diyan
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linuxnanocdac
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentalsRaghu nath
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linuxPrasanth V
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure Unix operating system architecture with file structure
Unix operating system architecture with file structure amol_chavan
 
linux-file-system01.ppt
linux-file-system01.pptlinux-file-system01.ppt
linux-file-system01.pptMeesanRaza
 

Similaire à Linux Directory System: Introduction (20)

12-introductiontolinuxos-190907073928
12-introductiontolinuxos-19090707392812-introductiontolinuxos-190907073928
12-introductiontolinuxos-190907073928
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OS
 
Operating systems unix
Operating systems   unixOperating systems   unix
Operating systems unix
 
Linux basics
Linux basicsLinux basics
Linux basics
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-os
 
File system discovery
File system discovery File system discovery
File system discovery
 
Network and System Administration Power Point
Network and System Administration Power PointNetwork and System Administration Power Point
Network and System Administration Power Point
 
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.
 
Unix/Linux
Unix/Linux Unix/Linux
Unix/Linux
 
File system discovery
File system discovery File system discovery
File system discovery
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
 
File system hiearchy
File system hiearchyFile system hiearchy
File system hiearchy
 
LinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptLinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.ppt
 
Raspberry pi introduction
Raspberry pi introductionRaspberry pi introduction
Raspberry pi introduction
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Types of files
Types of filesTypes of files
Types of files
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure Unix operating system architecture with file structure
Unix operating system architecture with file structure
 
linux-file-system01.ppt
linux-file-system01.pptlinux-file-system01.ppt
linux-file-system01.ppt
 

Plus de Amar Jukuntla (18)

Singly linked list
Singly linked listSingly linked list
Singly linked list
 
Hashing
HashingHashing
Hashing
 
Planning
Planning Planning
Planning
 
Unit 2
Unit 2Unit 2
Unit 2
 
Problem Solving
Problem Solving Problem Solving
Problem Solving
 
Intelligent Agents
Intelligent Agents Intelligent Agents
Intelligent Agents
 
Introduction
IntroductionIntroduction
Introduction
 
DFS
DFSDFS
DFS
 
Sorting
SortingSorting
Sorting
 
Sorting
SortingSorting
Sorting
 
Nature of open source
Nature of open sourceNature of open source
Nature of open source
 
Introduction to Data Structures
Introduction to Data StructuresIntroduction to Data Structures
Introduction to Data Structures
 
Learning
LearningLearning
Learning
 
First Order Logic resolution
First Order Logic resolutionFirst Order Logic resolution
First Order Logic resolution
 
First Order Logic
First Order LogicFirst Order Logic
First Order Logic
 
A*
A*A*
A*
 
Agents1
Agents1Agents1
Agents1
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
 

Dernier

ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 

Dernier (20)

ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 

Linux Directory System: Introduction

  • 2. Content Introduction Linux File System Linux Directory Tree Absolute Vs Relative Path
  • 3. Introduction An operating system is an software which operates your computer. Linux  Open source  Free of cost  All software products for linux is free  Office  Games  Video editors  More desktop environments L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 3
  • 4. Linux File System  Tree like structure  AKA Directory Tree  What is a folder?  A folder that stores multiple specific files.  Used to organize information. L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 4
  • 5. The Directory Tree • Pretty much similar to a family tree. • Each directory of file has exactly one parent. L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 5
  • 6. Continue… L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 6
  • 7. L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 7
  • 8. binary Directory(/bin) • Bin directory which stands for binary. • This directory contains executable programs and commands that can be used by all the users present in the system. • Opt is an another directory. • Opt stands for optional. • This directory contains commercial software products, not installed by your system. /opt Directory L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 8
  • 9. home Directory(/home) • It contains all folders like desktop, documents. • A user can store any thing in home directory. • tmp is an another directory. • tmp stands for temporary files. • Many programs use this to create lock files and for temporary storage of data. Do not remove files from this directory unless you know exactly what you are doing! /tmp Directory /sbin Directory • System commands live here. • /sbin is a standard subdirectory of the root directory in Linux and other Unix-like operating systems that contains executable (i.e., ready to run) programs. • They are mostly administrative tools, that should be made available only to the root (i.e., administrative) user. L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 9
  • 10. var Directory(/var) • Var stands for variable data. • It contains variable data. Data that frequently changes over time. • It includes look files, mails etc… • It holds all configuration files for the system. /etc Directory /lib Directory • It holds all library files like windows. Example: DLL files in windows L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 10
  • 11. Continue… • Linux is a multi user environment. • Which means that, multiple users can use system simultaneously. • Each user given a directory under home directory. • So a user can store any thing in home directory. • Current directory is represented with single dot (.) • Parent directory represented with double dot.(..) L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 11
  • 12. Absolute vs Relative paths • An absolute path begins with the root directory and follows the follows the directory tree branch by branch until desired directory or file is completed. • Example: /home/amar/documents/phone.txt • A relative path starts with the current working directory. • Example: ./documents/phone.txt L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 12
  • 13. Continue… L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 13
  • 14. Recap  Operating System is a collection of different types of programs.  An operating system is an software which operates your computer.  LINUX is a open source operating system, free of cost.  Linux  Directory, Windows Folder.  Directory is a tree like structure.  Absolute path is starts from origin, relative path starts from current directory. L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 14
  • 15. Next Session  Different types of Files in LINUX  System Calls  Intermediate File Management L I N U X | | A m a r J u k u n t l a , A s s i s t a n t P r o f e s s o r , C S E 15