SlideShare a Scribd company logo
UNIX
AN INTRODUCTION
Compiled by :Compiled by :
Dinesh RAJUDinesh RAJU
http://www.qatraininghub.comhttp://www.qatraininghub.com
QATRAININGHUB.COM Indisa's Best IT Software Training Institute
• What is an Operating System?
The 1960s definition of an operating system is “the
software that controls the hardware”. We see an
operating system as the programs that make the
hardware useable. In brief, an operating system is
the set of programs that controls a computer. Some
examples of operating systems are UNIX, Mach,
MS-DOS, MS-Windows, Windows/NT, Chicago,
OS/2, MacOS, VMS(Virtual Memory System),
MVS(Multiple Virtual Storage), and VM (Virtual
Machine). Controlling the computer involves
software at several levels.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Operating Systems Structure:
• System Components:
• 1. Process Management
• Creation and deletion of user and system processes.
• Suspension and resumption of processes.
• A mechanism for process synchronization.
• A mechanism for process communication.
• A mechanism for deadlock handling.
• Main-Memory Management
• Keep track of which part of memory are currently being
used and by whom.
• Decide which process is loaded into memory when memory
space becomes available.
• Allocate and de-allocate memory space as needed.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
• File Management:
• 1. The creation and deletion of files.
• 2. The creation and deletion of directions.
• 3. The support of primitives for manipulating files and
directions.
• 4. The mapping of files onto secondary storage.
• 5. The back up of files on stable storage media.
• Secondary-Storage Management
• 1. Managing the free space available on the secondary-
storage device.
• 2. Allocation of storage space when new files have to be
written.
• 3. Scheduling the requests for memory access.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
• I/O System Management
• Networking
• Protection System
• Command Interpreter System
• Program Execution
• I/O Operations
• File System Manipulation
• Communications
• Error Detection
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Introduction
UNIX is a CUI operating system. Operating
System is an interface between hardware
and applications software’s. It serves as
the operating system for all types of
computers, including single user personal
computers and engineering workstations,
multi-ser microcomputers mini computers,
mainframes and super computers as well
as special purpose devices.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
History
UNIX operating system at AT & T Bell labs.
Software team lead by Ken Thomson, Dennis
Ritchie and Rudd Canday worked on MULTICS
project. MULTICS stands for Multi Information
Computing System. MULTICS was developed for
only two users. Based on the same concept in
1969, UNICS operating system was developed
for 100’s of users. UNICS stands for Uniplexed
Information Computing System. It was written in
assembly language in 1973 they re written in C
language named as UNIX.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Features of UNIX:
Multi-user: More than one user can use the machine at a time
supported via terminals (serial or network connection)
Multi-tasking: more than one program can be run at a time
hierarchical directory structure to support the organization and
maintenance of files.
Portability: only the kernel (<10%) written in assembler tools
for program development a wide range of support tools
(debuggers, compilers).
File Structure: Unix follows Hierarchical file system.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
• Machine-independence: The System hides the
machine architecture from the user, making it easier
to write applications that can run on micros, mini
and mainframes
• Hierarchical File System: UNIX uses a hierarchal
file structure to store information. This structure has
the maximum flexibility in grouping information in
a way that reflects its natural state. It allows for easy
maintenance and efficient implementation.
• Multiprogramming -Support more than one
program, in memory, at a time. Amounts to multiple
user processes on the system.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Time Sharing
Modularity
Security
Strong networking support
Unix Shell
Pipes and Filters
Background processingQATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Structure of UNIX Operating System
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
UNIX FILESYSTEMUNIX FILESYSTEM
The UNIX filesystem is hierarchical (resembling a
tree structure). The tree is anchored at a place called
the root, designated by a slash "/". Every item in the
UNIX filesystem tree is either a file, or a directory.
A directory is like a file folder. A directory can
contain files, and other directories. A directory
contained within another is called the child of the
other. A directory in the filesystem tree may have
many children, but it can only have one parent. A
file can hold information, but cannot contain other
files, or directories.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
/ (Called root), this is equivalent to C: in the DOS/Windows world. You
cannot run a Linux system without the root partition. All other partitions are
a subset of the root partition.
/boot This contains the necessary stuff to start the machine, including the base
kernel. This partition is optional, but usually present. You will not need to
mess around in here if you have a running system.
/usr This is the directory where global executables are stored. It can be read-
only, if you want. Generally speaking, most software is installed here by
default.
/dev This is the directory where all of your devices are. There are a few useful
examples for you to know. /dev/hda is the first ide hard drive. /dev/hdb is
the second. /dev/sda would be the first SCSI drive, and /dev/sg0 is your
robotic arm.
/etc This is where most configuration files are stored. You will spend a lot of
time in here if you are an administrator. Most files require "root" access to
change.
/var Many of the system log files are here, as well as spools (mail, printer...)
/bin This directory is the home of binary executables. These include the
common commands we have already learned like ls, cat, gzip and tar.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Different Flavors of UNIX
BSD (Berkeley Software Distribution)
Sun Solaris (Sun Micro Systems)
Novell Netware (NOVELL)
IBM AIX (International Business Machines)
HP-UX (Hewllet Packard)
TRU 64 (Hewllet Packard)
LINUX
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Unix File System Architecture
In UNIX Operating System, a hard disk partition is
considered as any array of disk block logically, where
as disk block can be a physical sector or multiples of
physical sectors on the disk. It contains four important
areas, they are
BOOT BLOCK
SUPER BLOCK
INODE BLOCK
DATA BLOCK QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Unix File System Organization
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Boot Block: This stores bootable objects that are necessary
for booting the system. It has completely bootable
information.
Super Block: This Stores all the information about the
file system like
Size and status of the file system
Size of file system logical block
Date and time of the last update
Number blocks allocated
Number blocks un allocated
File System State QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
Inode Block: An inode contains all the information
about a file except its name , which is kept in directory. It
contains the following
The type of the file and The mode of the file
The number of hard links to the file
Owner of the file and The number of bytes of the file
The data and time last accessed
The date and last modified and The date and time last created
Data Block: Data blocks are storage blocks contains the
rest of the space that is allocated to the file system.
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
MSDOS vs. UNIX vs. Linux vs. Windows?
MS-DOS
Single user operating system
Single tasking Operating System
It is Command User Interface
Less security when compare with UNIX
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
UNIX
Command User Interface (CUI)
Multi user OS
Multi tasking OS
Time Sharing OS
Provides Security in Networking
Unix is Open SystemQATRAININGHUB.COM Indisa's
Best IT Software Training Institute
LINUX
Linux is the kernel of an operating system
Linux was built on the Unix tradition
Linux was originally developed by LINUS
Torwalds of Finland, who currently owns the Linux
Trademark
Linux stands for Linus' Unix
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
WINDOWS
Windows provides a GUI and a command line
interface
Windows is more expensive
Less Secure compare with UNIX
QATRAININGHUB.COM Indisa's
Best IT Software Training Institute
For Our Unix Shell Scripting Training visit : http://
qatraininghub.com/unix-shell-online-training.php
Ad

Recommended

Ch02
Ch02
Raja Waseem Akhtar
 
Introduction to linux
Introduction to linux
U.P Police
 
Linux Environment
Linux Environment
Trinity Dwarka
 
File system security
File system security
AmmAr mobark
 
Disk and File System Management in Linux
Disk and File System Management in Linux
Henry Osborne
 
Os
Os
sakthibalabalamuruga
 
Basic orientation to Linux
Basic orientation to Linux
Vidyaratha Kissoon
 
The Storage Systems
The Storage Systems
Dhaivat Zala
 
Unix Security
Unix Security
Kumar Setty, HCISPP, CISA, CCSK, ITIL, CHSP
 
Ch11
Ch11
Raja Waseem Akhtar
 
Introduction to linux
Introduction to linux
plarsen67
 
Ubuntu File System
Ubuntu File System
Bhagyesh Patel
 
Unix Introduction
Unix Introduction
ananthimurugesan
 
Operating Systems
Operating Systems
We Learn - A Continuous Learning Forum from Welingkar's Distance Learning Program.
 
Unix seminar
Unix seminar
Ajeet Kushwaha
 
File system of windows xp
File system of windows xp
Ehtisham Ali
 
Windows for Everyone(Operating System)
Windows for Everyone(Operating System)
Waleed Khan
 
Aties Presentation
Aties Presentation
Fedor Kurbatov
 
File System Implementation - Part1
File System Implementation - Part1
Amir Payberah
 
Tutorial 2
Tutorial 2
tech2click
 
Unix architecture | Operating System
Unix architecture | Operating System
Sumit Pandey
 
Linux vs windows
Linux vs windows
Dhaivat Zala
 
UNIX Operating System ppt
UNIX Operating System ppt
OECLIB Odisha Electronics Control Library
 
unix training | unix training videos | unix course unix online training
unix training | unix training videos | unix course unix online training
Nancy Thomas
 
Linux operating system - Overview
Linux operating system - Overview
Ashita Agrawal
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | Blocks
LOKESH KUMAR
 
Linux Introduction
Linux Introduction
Ankita Tiwari
 
Unix Administration
Unix Administration
Nishant Munjal
 
Introduction to Unix
Introduction to Unix
Nishant Munjal
 
Unix - An Introduction
Unix - An Introduction
Deepanshu Gahlaut
 

More Related Content

What's hot (20)

Unix Security
Unix Security
Kumar Setty, HCISPP, CISA, CCSK, ITIL, CHSP
 
Ch11
Ch11
Raja Waseem Akhtar
 
Introduction to linux
Introduction to linux
plarsen67
 
Ubuntu File System
Ubuntu File System
Bhagyesh Patel
 
Unix Introduction
Unix Introduction
ananthimurugesan
 
Operating Systems
Operating Systems
We Learn - A Continuous Learning Forum from Welingkar's Distance Learning Program.
 
Unix seminar
Unix seminar
Ajeet Kushwaha
 
File system of windows xp
File system of windows xp
Ehtisham Ali
 
Windows for Everyone(Operating System)
Windows for Everyone(Operating System)
Waleed Khan
 
Aties Presentation
Aties Presentation
Fedor Kurbatov
 
File System Implementation - Part1
File System Implementation - Part1
Amir Payberah
 
Tutorial 2
Tutorial 2
tech2click
 
Unix architecture | Operating System
Unix architecture | Operating System
Sumit Pandey
 
Linux vs windows
Linux vs windows
Dhaivat Zala
 
UNIX Operating System ppt
UNIX Operating System ppt
OECLIB Odisha Electronics Control Library
 
unix training | unix training videos | unix course unix online training
unix training | unix training videos | unix course unix online training
Nancy Thomas
 
Linux operating system - Overview
Linux operating system - Overview
Ashita Agrawal
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | Blocks
LOKESH KUMAR
 
Linux Introduction
Linux Introduction
Ankita Tiwari
 
Unix Administration
Unix Administration
Nishant Munjal
 

Similar to Unix Tutorial & overview (20)

Introduction to Unix
Introduction to Unix
Nishant Munjal
 
Unix - An Introduction
Unix - An Introduction
Deepanshu Gahlaut
 
Unix case-study
Unix case-study
NishantMishra126
 
Unix Administration 1
Unix Administration 1
Information Technology
 
Unix Operating System
Unix Operating System
subhsikha
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
IxtiyorTeshaboyev
 
Introduction to unix
Introduction to unix
Chandru Jangin
 
Unit 1 Introduction to Operating System.ppt
Unit 1 Introduction to Operating System.ppt
AnilkumarBrahmane2
 
Unix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basi
Priyadarshini648418
 
Spsl unit1
Spsl unit1
Sasidhar Kothuru
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure
amol_chavan
 
Introduction to Unix Concets.pptx
Introduction to Unix Concets.pptx
Harsha Patil
 
Introduction to Unix Concets.pptx
Introduction to Unix Concets.pptx
Harsha Patil
 
UNIT II-Programming in Linux
UNIT II-Programming in Linux
Dr.YNM
 
UNIX.pptx
UNIX.pptx
P S Rani
 
Unix seminar
Unix seminar
ajeet6742
 
Network and System Administration Power Point
Network and System Administration Power Point
kemal678348
 
Intro tounix (1)
Intro tounix (1)
Raj Mirje
 
linux-lecture1.ppt
linux-lecture1.ppt
jeronimored
 
84640411 study-of-unix-os
84640411 study-of-unix-os
homeworkping3
 
Unix Operating System
Unix Operating System
subhsikha
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
IxtiyorTeshaboyev
 
Unit 1 Introduction to Operating System.ppt
Unit 1 Introduction to Operating System.ppt
AnilkumarBrahmane2
 
Unix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basi
Priyadarshini648418
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure
amol_chavan
 
Introduction to Unix Concets.pptx
Introduction to Unix Concets.pptx
Harsha Patil
 
Introduction to Unix Concets.pptx
Introduction to Unix Concets.pptx
Harsha Patil
 
UNIT II-Programming in Linux
UNIT II-Programming in Linux
Dr.YNM
 
Unix seminar
Unix seminar
ajeet6742
 
Network and System Administration Power Point
Network and System Administration Power Point
kemal678348
 
Intro tounix (1)
Intro tounix (1)
Raj Mirje
 
linux-lecture1.ppt
linux-lecture1.ppt
jeronimored
 
84640411 study-of-unix-os
84640411 study-of-unix-os
homeworkping3
 
Ad

More from QA TrainingHub (7)

Best Python Online Training with Live Project by Expert
Best Python Online Training with Live Project by Expert
QA TrainingHub
 
Microsoft sql-server-2016 Tutorial & Overview
Microsoft sql-server-2016 Tutorial & Overview
QA TrainingHub
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
Bootstrap training basics tutorial | Bootstrap Essentials
Bootstrap training basics tutorial | Bootstrap Essentials
QA TrainingHub
 
Css training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentials
QA TrainingHub
 
Java script Tutorial - QaTrainingHub
Java script Tutorial - QaTrainingHub
QA TrainingHub
 
QA Online Training in Hyderabad - 040 65862627, +91 8977262627
QA Online Training in Hyderabad - 040 65862627, +91 8977262627
QA TrainingHub
 
Best Python Online Training with Live Project by Expert
Best Python Online Training with Live Project by Expert
QA TrainingHub
 
Microsoft sql-server-2016 Tutorial & Overview
Microsoft sql-server-2016 Tutorial & Overview
QA TrainingHub
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
Bootstrap training basics tutorial | Bootstrap Essentials
Bootstrap training basics tutorial | Bootstrap Essentials
QA TrainingHub
 
Css training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentials
QA TrainingHub
 
Java script Tutorial - QaTrainingHub
Java script Tutorial - QaTrainingHub
QA TrainingHub
 
QA Online Training in Hyderabad - 040 65862627, +91 8977262627
QA Online Training in Hyderabad - 040 65862627, +91 8977262627
QA TrainingHub
 
Ad

Recently uploaded (20)

Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Pragya - UEM Kolkata Quiz Club
 
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Rajdeep Bavaliya
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Plate Tectonic Boundaries and Continental Drift Theory
Plate Tectonic Boundaries and Continental Drift Theory
Marie
 
JHS SHS Back to School 2024-2025 .pptx
JHS SHS Back to School 2024-2025 .pptx
melvinapay78
 
Measuring, learning and applying multiplication facts.
Measuring, learning and applying multiplication facts.
cgilmore6
 
Introduction to problem solving Techniques
Introduction to problem solving Techniques
merlinjohnsy
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
2025 June Year 9 Presentation: Subject selection.pptx
2025 June Year 9 Presentation: Subject selection.pptx
mansk2
 
The Man In The Back – Exceptional Delaware.pdf
The Man In The Back – Exceptional Delaware.pdf
dennisongomezk
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
How to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 Employee
Celine George
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
ChristinaFortunova
 
Introduction to Generative AI and Copilot.pdf
Introduction to Generative AI and Copilot.pdf
TechSoup
 
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Pragya - UEM Kolkata Quiz Club
 
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Rajdeep Bavaliya
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Plate Tectonic Boundaries and Continental Drift Theory
Plate Tectonic Boundaries and Continental Drift Theory
Marie
 
JHS SHS Back to School 2024-2025 .pptx
JHS SHS Back to School 2024-2025 .pptx
melvinapay78
 
Measuring, learning and applying multiplication facts.
Measuring, learning and applying multiplication facts.
cgilmore6
 
Introduction to problem solving Techniques
Introduction to problem solving Techniques
merlinjohnsy
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
2025 June Year 9 Presentation: Subject selection.pptx
2025 June Year 9 Presentation: Subject selection.pptx
mansk2
 
The Man In The Back – Exceptional Delaware.pdf
The Man In The Back – Exceptional Delaware.pdf
dennisongomezk
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
How to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 Employee
Celine George
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
ChristinaFortunova
 
Introduction to Generative AI and Copilot.pdf
Introduction to Generative AI and Copilot.pdf
TechSoup
 
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 

Unix Tutorial & overview

  • 1. UNIX AN INTRODUCTION Compiled by :Compiled by : Dinesh RAJUDinesh RAJU http://www.qatraininghub.comhttp://www.qatraininghub.com QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 2. • What is an Operating System? The 1960s definition of an operating system is “the software that controls the hardware”. We see an operating system as the programs that make the hardware useable. In brief, an operating system is the set of programs that controls a computer. Some examples of operating systems are UNIX, Mach, MS-DOS, MS-Windows, Windows/NT, Chicago, OS/2, MacOS, VMS(Virtual Memory System), MVS(Multiple Virtual Storage), and VM (Virtual Machine). Controlling the computer involves software at several levels. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 3. Operating Systems Structure: • System Components: • 1. Process Management • Creation and deletion of user and system processes. • Suspension and resumption of processes. • A mechanism for process synchronization. • A mechanism for process communication. • A mechanism for deadlock handling. • Main-Memory Management • Keep track of which part of memory are currently being used and by whom. • Decide which process is loaded into memory when memory space becomes available. • Allocate and de-allocate memory space as needed. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 4. • File Management: • 1. The creation and deletion of files. • 2. The creation and deletion of directions. • 3. The support of primitives for manipulating files and directions. • 4. The mapping of files onto secondary storage. • 5. The back up of files on stable storage media. • Secondary-Storage Management • 1. Managing the free space available on the secondary- storage device. • 2. Allocation of storage space when new files have to be written. • 3. Scheduling the requests for memory access. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 5. • I/O System Management • Networking • Protection System • Command Interpreter System • Program Execution • I/O Operations • File System Manipulation • Communications • Error Detection QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 6. Introduction UNIX is a CUI operating system. Operating System is an interface between hardware and applications software’s. It serves as the operating system for all types of computers, including single user personal computers and engineering workstations, multi-ser microcomputers mini computers, mainframes and super computers as well as special purpose devices. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 7. History UNIX operating system at AT & T Bell labs. Software team lead by Ken Thomson, Dennis Ritchie and Rudd Canday worked on MULTICS project. MULTICS stands for Multi Information Computing System. MULTICS was developed for only two users. Based on the same concept in 1969, UNICS operating system was developed for 100’s of users. UNICS stands for Uniplexed Information Computing System. It was written in assembly language in 1973 they re written in C language named as UNIX. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 8. Features of UNIX: Multi-user: More than one user can use the machine at a time supported via terminals (serial or network connection) Multi-tasking: more than one program can be run at a time hierarchical directory structure to support the organization and maintenance of files. Portability: only the kernel (<10%) written in assembler tools for program development a wide range of support tools (debuggers, compilers). File Structure: Unix follows Hierarchical file system. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 9. • Machine-independence: The System hides the machine architecture from the user, making it easier to write applications that can run on micros, mini and mainframes • Hierarchical File System: UNIX uses a hierarchal file structure to store information. This structure has the maximum flexibility in grouping information in a way that reflects its natural state. It allows for easy maintenance and efficient implementation. • Multiprogramming -Support more than one program, in memory, at a time. Amounts to multiple user processes on the system. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 10. Time Sharing Modularity Security Strong networking support Unix Shell Pipes and Filters Background processingQATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 11. Structure of UNIX Operating System QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 12. UNIX FILESYSTEMUNIX FILESYSTEM The UNIX filesystem is hierarchical (resembling a tree structure). The tree is anchored at a place called the root, designated by a slash "/". Every item in the UNIX filesystem tree is either a file, or a directory. A directory is like a file folder. A directory can contain files, and other directories. A directory contained within another is called the child of the other. A directory in the filesystem tree may have many children, but it can only have one parent. A file can hold information, but cannot contain other files, or directories. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 13. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 14. / (Called root), this is equivalent to C: in the DOS/Windows world. You cannot run a Linux system without the root partition. All other partitions are a subset of the root partition. /boot This contains the necessary stuff to start the machine, including the base kernel. This partition is optional, but usually present. You will not need to mess around in here if you have a running system. /usr This is the directory where global executables are stored. It can be read- only, if you want. Generally speaking, most software is installed here by default. /dev This is the directory where all of your devices are. There are a few useful examples for you to know. /dev/hda is the first ide hard drive. /dev/hdb is the second. /dev/sda would be the first SCSI drive, and /dev/sg0 is your robotic arm. /etc This is where most configuration files are stored. You will spend a lot of time in here if you are an administrator. Most files require "root" access to change. /var Many of the system log files are here, as well as spools (mail, printer...) /bin This directory is the home of binary executables. These include the common commands we have already learned like ls, cat, gzip and tar. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 15. Different Flavors of UNIX BSD (Berkeley Software Distribution) Sun Solaris (Sun Micro Systems) Novell Netware (NOVELL) IBM AIX (International Business Machines) HP-UX (Hewllet Packard) TRU 64 (Hewllet Packard) LINUX QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 16. Unix File System Architecture In UNIX Operating System, a hard disk partition is considered as any array of disk block logically, where as disk block can be a physical sector or multiples of physical sectors on the disk. It contains four important areas, they are BOOT BLOCK SUPER BLOCK INODE BLOCK DATA BLOCK QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 17. Unix File System Organization QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 18. Boot Block: This stores bootable objects that are necessary for booting the system. It has completely bootable information. Super Block: This Stores all the information about the file system like Size and status of the file system Size of file system logical block Date and time of the last update Number blocks allocated Number blocks un allocated File System State QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 19. Inode Block: An inode contains all the information about a file except its name , which is kept in directory. It contains the following The type of the file and The mode of the file The number of hard links to the file Owner of the file and The number of bytes of the file The data and time last accessed The date and last modified and The date and time last created Data Block: Data blocks are storage blocks contains the rest of the space that is allocated to the file system. QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 20. MSDOS vs. UNIX vs. Linux vs. Windows? MS-DOS Single user operating system Single tasking Operating System It is Command User Interface Less security when compare with UNIX QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 21. UNIX Command User Interface (CUI) Multi user OS Multi tasking OS Time Sharing OS Provides Security in Networking Unix is Open SystemQATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 22. LINUX Linux is the kernel of an operating system Linux was built on the Unix tradition Linux was originally developed by LINUS Torwalds of Finland, who currently owns the Linux Trademark Linux stands for Linus' Unix QATRAININGHUB.COM Indisa's Best IT Software Training Institute
  • 23. WINDOWS Windows provides a GUI and a command line interface Windows is more expensive Less Secure compare with UNIX QATRAININGHUB.COM Indisa's Best IT Software Training Institute For Our Unix Shell Scripting Training visit : http:// qatraininghub.com/unix-shell-online-training.php