SlideShare a Scribd company logo
1 of 6
1 | P a g e
Linux notes:
What is Linux?
 Linux is UNIX like open source operating system written by Linus Torvalds in 1991
History of UNIX
 UNIX is an Operating System (OS), was developed about 44 years ago i.e., 1969 at AT&T
Bell Labs by Ken Thompson and Dennis Ritchie.
 It is a Command Line Interpreter.
 It was d developed for the Mini -Computers as a time sharing system.
 UNIX was the predecessor of LINUX.
 1957: Bell Labs found they needed an operating system which at the time was running
various batch jobs.
 1965: Bell Labs create Multics (Multiplexed Information and Computing Service)
 1969: Summer 1969 UNIX was developed by AT&T
 1975: Sixth edition of UNIX released May 1975
Many of the proprietary flavors have been designed to run only (or mainly) on
proprietary hardware sold by the same company that has developed them. Examples
include:
 AIX - developed by IBM for use on its mainframe computers
 BSD/OS - a commercial version of BSD developed by Wind River for
Intel processors
 HP-UX - developed by Hewlett-Packard for its HP 9000 series of
business servers
 IRIX - developed by SGI for applications that use 3-D visualization and
virtual reality
 QNX - a real time operating system developed by QNX Software
Systems primarily for use in embedded systems
 Solaris - developed by Sun Microsystems for the SPARC platform and
the most widely used proprietary flavor for web servers
 Tru64 - developed by Compaq for the Alpha processor
 SCO UNIX by the Santa Cruz Operation Inc.
2 | P a g e
History of LINUX
 LINUX was created by Linus Torvalds in 1991.
 LINUX is a open source.
 LINUX is a variant of UNIX.
 1985: GNU project started
 1991: Linux is introduced by Linus Benedict Torvalds who was a second year student of
Computer Science at the University of Helsinki
 1993: NetBSD & FreeBSD released
 1994: Red Hat Linux is introduced
Others are developed by groups of volunteers who make them available for free.
Among them are:
 Linux - the most popular and fastest growing of all the Unix-like operating
systems
 FreeBSD - the most popular of the BSD systems (all of which are direct
descendants of BSD UNIX, which was developed at the University of
California at Berkeley)
 NetBSD - features the ability to run on more than 50 platforms, ranging from
acorn26 to x68k
 OpenBSD - may have already attained its goal of becoming the most secure of
all computer operating systems
 Darwin - the new version of BSD that serves as the core for the Mac OS X
Why LINUX/UNIX?
 LINUX is free.
 Can view and edit the source code of OS
 It i s fully customizable.
 Most Important Feature is Stability
 30 Years to get the bugs
 Important in shared environments and critical applications
 LINUX has better security structure.
 High Portability
 Easy to port new H/W Platform
 Written in C which is highly portable
 LINUX has better security structure.
 High Portability
 Easy to port new H/W Platform
 Written in C which is highly portable
3 | P a g e
Kernel:
 Kernel is the heart of the operating system.
 It is the low level core of the System that is the interface between applications and H/W.
Functions:
 Manage Memory,
 I/O devices,
 allocates the time between user and process,
 inter process communication,
 sets process priority
Shell:
 The shell is a program that sits on the as an interface between users and kernel
 It is a command interpreter and also has programming capability of its own.
 Shell Types:
 Bourne Shell (sh) (First shell by Stephen Bourne)
 C Shell(sh)
 Korn Shell (ksh)
 Bourne Again Shell(bash)
File System:
 Linux treats everything as a file including hardware devices. Arranged as a directory hierarchy.
 The top level directory is known as “ root ( /)”.
4 | P a g e
Linux File system Hierarchy
The
first thing we need to talk about is the root directory (/). It is the directory where all of the other
directories in the file system are stored. The root user is the only one who can write to this directory. It
is not to be confused with /root which is the root user’s home directory!
Within the root directory, you will find the following sub-directories. I have included some descriptions
of each:
1. /bin
The /bin directory is for User Binaries. It is where many of the most common Linux commands are
stored. Specifically, this is where the single user mode binaries are stored.
5 | P a g e
2. /sbin
This directory is almost exactly like the /bin directory, with one exception. The binaries here are
primarily used by Administrators for system maintenance.
3. /etc
The configuration files for your programs and operating system are stored in /etc.
4. /dev
This is where all of the device files are located. For example, this is the directory that you would call to
in order to mount a drive with a command like: mount /dev/sda2 /mnt/backup
5. /proc
The /proc directory is one of the most interesting in the whole Linux File System. It is actually its own
virtual file system with a massive amount of text information about system processes.
6. /var
This is where all of the variable files are stored. Most commonly, this is where log files and web server
files are stored.
7. /tmp
These are simply temporary files.
8. /usr
Programs installed by single users get stored here.
9. /home
This is where all of the user home directories are except for the root user’s home directory which is
/root.
10. /boot
The files that make up the boot loader go in /boot. Everything from boot loader menus, to the actual
kernel files are stored here.
11. /lib
All of the binary files that are located in /bin and /sbin are supported by the library files located in /lib.
12. /opt
/opt is short for “optional”. It is the directory where individual vendors can install optional add-on
software for the operating system.
13. /mnt
The /mnt directory is the mount point that system administrators can use to mount file systems
temporarily.
6 | P a g e
14. /media
The /media directory serves the same purpose as the /mnt directory except it is specifically for
removable devices and can be used by non administrators.
15. /srv
The /srv directory contains server specific service files.
Getting Help:
In LINUX/UNIX whenever you need help with a command type “ man” followed by
the command name.
The Syntax is
man [options] command
Common options are
- M > Keyword path to man pages.
- k > Keyword list command for all keyword matches.
We can use help command also.
command - - help

More Related Content

What's hot

The basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemThe basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemHungWei Chiu
 
Different types of Editors in Linux
Different types of Editors in LinuxDifferent types of Editors in Linux
Different types of Editors in LinuxBhavik Trivedi
 
Introduction and history of linux
Introduction and history of linuxIntroduction and history of linux
Introduction and history of linuxSHUBHA CHATURVEDI
 
Linux programming lecture_notes
Linux programming lecture_notesLinux programming lecture_notes
Linux programming lecture_notesIMRAN KHAN
 
Unix vs Linux | Difference Between Unix & Linux | Edureka
Unix vs Linux | Difference Between Unix & Linux | EdurekaUnix vs Linux | Difference Between Unix & Linux | Edureka
Unix vs Linux | Difference Between Unix & Linux | EdurekaEdureka!
 
Operating systems linux
Operating systems linuxOperating systems linux
Operating systems linuxwilliam_morg
 
Operating Systems: Linux in Detail
Operating Systems: Linux in DetailOperating Systems: Linux in Detail
Operating Systems: Linux in DetailDamian T. Gordon
 
Linux kernel modules
Linux kernel modulesLinux kernel modules
Linux kernel modulesEddy Reyes
 
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
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basicf114n
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & featuresRohit Kumar
 
History Of Linux
History Of LinuxHistory Of Linux
History Of Linuxanand09
 
Linux operating system
Linux operating systemLinux operating system
Linux operating systemITz_1
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file systemTaaanu01
 
Linux kernel Architecture and Properties
Linux kernel Architecture and PropertiesLinux kernel Architecture and Properties
Linux kernel Architecture and PropertiesSaadi Rahman
 

What's hot (20)

The basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemThe basic concept of Linux FIleSystem
The basic concept of Linux FIleSystem
 
Different types of Editors in Linux
Different types of Editors in LinuxDifferent types of Editors in Linux
Different types of Editors in Linux
 
Introduction and history of linux
Introduction and history of linuxIntroduction and history of linux
Introduction and history of linux
 
Linux programming lecture_notes
Linux programming lecture_notesLinux programming lecture_notes
Linux programming lecture_notes
 
Unix vs Linux | Difference Between Unix & Linux | Edureka
Unix vs Linux | Difference Between Unix & Linux | EdurekaUnix vs Linux | Difference Between Unix & Linux | Edureka
Unix vs Linux | Difference Between Unix & Linux | Edureka
 
Operating systems linux
Operating systems linuxOperating systems linux
Operating systems linux
 
A History of Linux
A History of LinuxA History of Linux
A History of Linux
 
Operating Systems: Linux in Detail
Operating Systems: Linux in DetailOperating Systems: Linux in Detail
Operating Systems: Linux in Detail
 
Linux kernel modules
Linux kernel modulesLinux kernel modules
Linux kernel modules
 
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
Linux Linux
Linux
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basic
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Basic 50 linus command
Basic 50 linus commandBasic 50 linus command
Basic 50 linus command
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & features
 
History Of Linux
History Of LinuxHistory Of Linux
History Of Linux
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
Linux operating system
Linux operating systemLinux operating system
Linux operating system
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
 
Linux kernel Architecture and Properties
Linux kernel Architecture and PropertiesLinux kernel Architecture and Properties
Linux kernel Architecture and Properties
 

Similar to Linux File System Hierarchy and Structure

Similar to Linux File System Hierarchy and Structure (20)

OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to Linux
 
Linux technology
Linux technologyLinux technology
Linux technology
 
LinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.pptLinuxTraining_26_Sept_2021.ppt
LinuxTraining_26_Sept_2021.ppt
 
Module1
Module1Module1
Module1
 
Operating Systems 1
Operating Systems 1Operating Systems 1
Operating Systems 1
 
Programming and problem solving 3
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3
 
3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Intro to linux
Intro to linuxIntro to linux
Intro to linux
 
Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
 
Report
ReportReport
Report
 
Linux forensics
Linux forensicsLinux forensics
Linux forensics
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Linux
Linux Linux
Linux
 
Linux
LinuxLinux
Linux
 
UNIX_module1.pptx
UNIX_module1.pptxUNIX_module1.pptx
UNIX_module1.pptx
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanisms
 
chapter 3 linux-lecture.ppt
chapter 3 linux-lecture.pptchapter 3 linux-lecture.ppt
chapter 3 linux-lecture.ppt
 
Group 3
Group 3Group 3
Group 3
 
chapter-1-introduction-to-linux.ppt
chapter-1-introduction-to-linux.pptchapter-1-introduction-to-linux.ppt
chapter-1-introduction-to-linux.ppt
 

More from Teja Bheemanapally (20)

Teradata
TeradataTeradata
Teradata
 
Teradata
TeradataTeradata
Teradata
 
Linux or unix interview questions
Linux or unix interview questionsLinux or unix interview questions
Linux or unix interview questions
 
Linux crontab
Linux crontabLinux crontab
Linux crontab
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Linux01122011
Linux01122011Linux01122011
Linux01122011
 
Kernel (computing)
Kernel (computing)Kernel (computing)
Kernel (computing)
 
Installing red hat enterprise linux1
Installing red hat enterprise linux1Installing red hat enterprise linux1
Installing red hat enterprise linux1
 
Linux basic commands tutorial
Linux basic commands tutorialLinux basic commands tutorial
Linux basic commands tutorial
 
In a monolithic kerne1
In a monolithic kerne1In a monolithic kerne1
In a monolithic kerne1
 
Common linuxcommandspocketguide07
Common linuxcommandspocketguide07Common linuxcommandspocketguide07
Common linuxcommandspocketguide07
 
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
 
Basic commands
Basic commandsBasic commands
Basic commands
 
File system hierarchy standard
File system hierarchy standardFile system hierarchy standard
File system hierarchy standard
 
40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
 
15 practical grep command examples in linux
15 practical grep command examples in linux15 practical grep command examples in linux
15 practical grep command examples in linux
 
25 most frequently used linux ip tables rules examples
25 most frequently used linux ip tables rules examples25 most frequently used linux ip tables rules examples
25 most frequently used linux ip tables rules examples
 
Shell intro
Shell introShell intro
Shell intro
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
Kernel (computing)
Kernel (computing)Kernel (computing)
Kernel (computing)
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 

Recently uploaded (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 

Linux File System Hierarchy and Structure

  • 1. 1 | P a g e Linux notes: What is Linux?  Linux is UNIX like open source operating system written by Linus Torvalds in 1991 History of UNIX  UNIX is an Operating System (OS), was developed about 44 years ago i.e., 1969 at AT&T Bell Labs by Ken Thompson and Dennis Ritchie.  It is a Command Line Interpreter.  It was d developed for the Mini -Computers as a time sharing system.  UNIX was the predecessor of LINUX.  1957: Bell Labs found they needed an operating system which at the time was running various batch jobs.  1965: Bell Labs create Multics (Multiplexed Information and Computing Service)  1969: Summer 1969 UNIX was developed by AT&T  1975: Sixth edition of UNIX released May 1975 Many of the proprietary flavors have been designed to run only (or mainly) on proprietary hardware sold by the same company that has developed them. Examples include:  AIX - developed by IBM for use on its mainframe computers  BSD/OS - a commercial version of BSD developed by Wind River for Intel processors  HP-UX - developed by Hewlett-Packard for its HP 9000 series of business servers  IRIX - developed by SGI for applications that use 3-D visualization and virtual reality  QNX - a real time operating system developed by QNX Software Systems primarily for use in embedded systems  Solaris - developed by Sun Microsystems for the SPARC platform and the most widely used proprietary flavor for web servers  Tru64 - developed by Compaq for the Alpha processor  SCO UNIX by the Santa Cruz Operation Inc.
  • 2. 2 | P a g e History of LINUX  LINUX was created by Linus Torvalds in 1991.  LINUX is a open source.  LINUX is a variant of UNIX.  1985: GNU project started  1991: Linux is introduced by Linus Benedict Torvalds who was a second year student of Computer Science at the University of Helsinki  1993: NetBSD & FreeBSD released  1994: Red Hat Linux is introduced Others are developed by groups of volunteers who make them available for free. Among them are:  Linux - the most popular and fastest growing of all the Unix-like operating systems  FreeBSD - the most popular of the BSD systems (all of which are direct descendants of BSD UNIX, which was developed at the University of California at Berkeley)  NetBSD - features the ability to run on more than 50 platforms, ranging from acorn26 to x68k  OpenBSD - may have already attained its goal of becoming the most secure of all computer operating systems  Darwin - the new version of BSD that serves as the core for the Mac OS X Why LINUX/UNIX?  LINUX is free.  Can view and edit the source code of OS  It i s fully customizable.  Most Important Feature is Stability  30 Years to get the bugs  Important in shared environments and critical applications  LINUX has better security structure.  High Portability  Easy to port new H/W Platform  Written in C which is highly portable  LINUX has better security structure.  High Portability  Easy to port new H/W Platform  Written in C which is highly portable
  • 3. 3 | P a g e Kernel:  Kernel is the heart of the operating system.  It is the low level core of the System that is the interface between applications and H/W. Functions:  Manage Memory,  I/O devices,  allocates the time between user and process,  inter process communication,  sets process priority Shell:  The shell is a program that sits on the as an interface between users and kernel  It is a command interpreter and also has programming capability of its own.  Shell Types:  Bourne Shell (sh) (First shell by Stephen Bourne)  C Shell(sh)  Korn Shell (ksh)  Bourne Again Shell(bash) File System:  Linux treats everything as a file including hardware devices. Arranged as a directory hierarchy.  The top level directory is known as “ root ( /)”.
  • 4. 4 | P a g e Linux File system Hierarchy The first thing we need to talk about is the root directory (/). It is the directory where all of the other directories in the file system are stored. The root user is the only one who can write to this directory. It is not to be confused with /root which is the root user’s home directory! Within the root directory, you will find the following sub-directories. I have included some descriptions of each: 1. /bin The /bin directory is for User Binaries. It is where many of the most common Linux commands are stored. Specifically, this is where the single user mode binaries are stored.
  • 5. 5 | P a g e 2. /sbin This directory is almost exactly like the /bin directory, with one exception. The binaries here are primarily used by Administrators for system maintenance. 3. /etc The configuration files for your programs and operating system are stored in /etc. 4. /dev This is where all of the device files are located. For example, this is the directory that you would call to in order to mount a drive with a command like: mount /dev/sda2 /mnt/backup 5. /proc The /proc directory is one of the most interesting in the whole Linux File System. It is actually its own virtual file system with a massive amount of text information about system processes. 6. /var This is where all of the variable files are stored. Most commonly, this is where log files and web server files are stored. 7. /tmp These are simply temporary files. 8. /usr Programs installed by single users get stored here. 9. /home This is where all of the user home directories are except for the root user’s home directory which is /root. 10. /boot The files that make up the boot loader go in /boot. Everything from boot loader menus, to the actual kernel files are stored here. 11. /lib All of the binary files that are located in /bin and /sbin are supported by the library files located in /lib. 12. /opt /opt is short for “optional”. It is the directory where individual vendors can install optional add-on software for the operating system. 13. /mnt The /mnt directory is the mount point that system administrators can use to mount file systems temporarily.
  • 6. 6 | P a g e 14. /media The /media directory serves the same purpose as the /mnt directory except it is specifically for removable devices and can be used by non administrators. 15. /srv The /srv directory contains server specific service files. Getting Help: In LINUX/UNIX whenever you need help with a command type “ man” followed by the command name. The Syntax is man [options] command Common options are - M > Keyword path to man pages. - k > Keyword list command for all keyword matches. We can use help command also. command - - help