SlideShare a Scribd company logo
1 of 30
Computer Science Dept
Unix System
 The Unix operating system is a set of programs that act
as a link between the computer and the user.
 Unix was originally developed in 1969 by a group of
AT&T employees Ken Thompson, Dennis Ritchie,
Douglas McIlroy, and Joe Ossanna at Bell Labs.
 There are various Unix variants available in the
market. Solaris Unix, AIX, HP Unix and BSD are a few
examples. Linux is also a flavor of Unix which is freely
available.
 Several people can use a Unix computer at the
same time; hence Unix is called a multiuser
system.
 A user can also run multiple programs at the same
time; hence Unix is a multitasking environment.
Unix Architecture
Users communicate with the kernel through a
program known as the shell. The shell is a
command line interpreter; it translates commands
entered by the user and converts them into a
language that is understood by the kernel.
Fig: Unix
Architecture
Kernel
The kernel is the heart of the operating system. It
interacts with the hardware and most of the tasks like
memory management, task scheduling and file
management.
SOME OTHER FUNCTIONS PERFORMED BY THE
KERNEL IN UNIX SYSTEM ARE:
 Managing the machine’s memory and allocating it to each
process and decides their priorities.
 Scheduling the work done by the CPU so that the work of
each user is carried out as efficiently as is possible.
 Organizing the transfer of data from one part of
the machine to another.
 Accepting instructions from the unix shell and
carrying them out.
 Enforcing the access permissions that are in force
on the file system
Shell
The shell is the utility that processes your requests. When
you type in a command at your terminal, the shell
interprets the command and calls the program that you
want. The shell uses standard syntax for all commands. C
Shell, Bourne Shell and Korn Shell are the most famous
shells which are available with most of the Unix variants.
 You can use any one of these unix shells if they are
available on your system. And you can switch
between the different unix shells once you have
found out if they are available.
TC shell (tcsh)
Korn shell (ksh)
Bourne Again SHell (bash)
Bourne shell (sh)
C shell (csh)
Commands and Utilities
There are various commands and utilities which you can
make use of in your day to day
activities. cp, mv, cat and grep, etc. are few examples
of commands and utilities. There are over 250 standard
commands plus numerous others provided through
3rd party software. All the commands come along with
various options.
Files and Directories
All the data of Unix is organized into files. All files are
then organized into directories. These directories are
further organized into a tree-like structure called
the files ystem.
Functions of Unix
1. Security
The operating system uses password protection to protect
user data and similar other techniques. it also prevents
unauthorized access to programs and user data.
2. Control over system performance
Monitors overall system health to help improve
performance. records the response time between service
requests and system response to have a complete view of
the system health. This can help improve performance by
providing important information needed to troubleshoot
problems.
3. Job accounting
Operating system Keeps track of time and resources used
by various tasks and users, this information can be used to
track resource usage for a particular user or group of user.
4. Error detecting aids
Operating system constantly monitors the system to detect
errors and avoid the malfunctioning of computer system.
5. Coordination between other software and users
Operating systems also coordinate and assign interpreters,
compilers, assemblers and other software to the various
users of the computer systems.
6. Memory Management
The operating system manages the Primary Memory or
Main Memory. Main memory is made up of a large array of
bytes or words where each byte or word is assigned a
certain address. Main memory is a fast storage and it can be
accessed directly by the CPU. For a program to be executed,
it should be first loaded in the main memory.
7. Processor Management
In a multi programming environment, the OS decides the
order in which processes have access to the processor, and
how much processing time each process has. This function
of OS is called process scheduling. An Operating System
performs the following activities for processor
management.
8. Device Management
An OS manages device communication via their respective
drivers. It performs the following activities for device
management. Keeps tracks of all devices connected to
system. designates a program responsible for every device
known as the Input/Output controller.
9. File Management
A file system is organized into directories for efficient or
easy navigation and usage. These directories may contain
other directories and other files. An Operating System
carries out the following file management activities. It
keeps track of where information is stored, user access
settings and status of every file and more… These facilities
are collectively known as the file system.
Unix File System
 Unix file system is a logical method of organizing
and storing large amounts of information in a way
that makes it easy to manage. A file is a smallest unit in
which the information is stored. Unix file system has
several important features. All data in Unix is
organized into files. All files are organized into
directories. These directories are organized into a tree-
like structure called the file system.
Directories or Files and their description
 / : The slash / character alone denotes the root of the filesystem tree.
 /bin : Stands for “binaries” and contains certain fundamental utilities, such
as ls or cp, which are generally needed by all users.
 /boot : Contains all the files that are required for successful booting
process.
 /dev : Stands for “devices”. Contains file representations of peripheral
devices and pseudo-devices.
 /etc : Contains system-wide configuration files and system databases.
Originally also contained “dangerous maintenance utilities” such as init,but
these have typically been moved to /sbin or elsewhere.
 /home : Contains the home directories for the users.
 /lib : Contains system libraries, and some critical files such as
kernel modules or device drivers.
 /media : Default mount point for removable devices, such as
USB sticks, media players, etc.
 /mnt : Stands for “mount”. Contains filesystem mount points.
These are used, for example, if the system uses multiple hard
disks or hard disk partitions. It is also often used for remote
(network) filesystems, CD-ROM/DVD drives, and so on.
 /proc : procfs virtual filesystem showing information about
processes as files.
 /root : The home directory for the superuser “root” –
that is, the system administrator. This account’s home
directory is usually on the initial filesystem, and hence
not in /home (which may be a mount point for
another filesystem) in case specific maintenance needs
to be performed, during which other filesystems are
not available. Such a case could occur, for example, if a
hard disk drive suffers physical failures and cannot be
properly mounted.
 /tmp : A place for temporary files. Many systems clear
this directory upon startup; it might have tmpfs
mounted atop it, in which case its contents do not
survive a reboot, or it might be explicitly cleared by a
startup script at boot time.
 /usr : Originally the directory holding user home
directories,its use has changed.
1. Ordinary files
An ordinary file is a file on the system that contains
data, text, or program instructions.
Used to store your information, such as some text you
have written or an image you have drawn. This is the
type of file that you usually work with.
Always located within/under a directory file. Do not
contain other files.
In long-format output of ls -l, this type of file is specified by
the “-” symbol.
2. Directories
Directories store both special and ordinary files. For users
familiar with Windows or Mac OS, UNIX directories are
equivalent to folders. A directory file contains an entry for
every file and subdirectory that it houses. If you have 10
files in a directory, there will be 10 entries in the
directory. Each entry has two components.
(1) The Filename
(2) A unique identification number for the file or directory
(called the inode number)
3. Special Files
Used to represent a real physical device such as a printer, tape
drive or terminal, used for Input/Ouput (I/O) operations.
Device or special files are used for device Input/Output(I/O) on
UNIX and Linux systems. They appear in a file system just like
an ordinary file or a directory.
 On UNIX systems there are two flavors of special files for each
device, character special files and block special files :
 When a character special file is used for device
Input/Output(I/O), data is transferred one character at a time.
This type of access is called raw device access.
 When a block special file is used for device Input/Output(I/O),
data is transferred in large fixed-size blocks. This type of access
is called block device access.
4. Pipes
UNIX allows you to link commands together using a pipe. The
pipe acts a temporary file which only exists to hold data from
one command until it is read by another.A Unix pipe provides a
one-way flow of data.The output or result of the first
command sequence is used as the input to the second
command sequence. To make a pipe, put a vertical bar (|) on
the command line between two commands.For example: who
| wc -l
In long-format output of ls –l , named pipes are marked by the
“p” symbol.
5. Sockets
A Unix socket (or Inter-process communication socket) is a
special file which allows for advanced inter-process
communication. A Unix Socket is used in a client-server
application framework. In essence, it is a stream of data, very
similar to network stream (and network sockets), but all the
transactions are local to the filesystem.
In long-format output of ls -l, Unix sockets are marked by “s”
symbol.
6. Symbolic Link
Symbolic link is used for referencing some other file of the file
system.Symbolic link is also known as Soft link. It contains a
text form of the path to the file it references. To an end user,
symbolic link will appear to have its own name, but when you
try reading or writing data to this file, it will instead reference
these operations to the file it points to. If we delete the soft
link itself , the data file would still be there.If we delete the
source file or move it to a different location, symbolic file will
not function properly.
In long-format output of ls –l , Symbolic link are marked by the
“l” symbol (that’s a lower case L).
THANK YOU !

More Related Content

What's hot (20)

Operating system
Operating systemOperating system
Operating system
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
UNIX Operating System ppt
UNIX Operating System pptUNIX Operating System ppt
UNIX Operating System ppt
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Evolution of operating system
Evolution of operating systemEvolution of operating system
Evolution of operating system
 
Peterson Critical Section Problem Solution
Peterson Critical Section Problem SolutionPeterson Critical Section Problem Solution
Peterson Critical Section Problem Solution
 
File access methods.54
File access methods.54File access methods.54
File access methods.54
 
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya JyothiIntroduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Operating system basics
Operating system basicsOperating system basics
Operating system basics
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 
Linux os and its features
Linux os and its featuresLinux os and its features
Linux os and its features
 
Linux
Linux Linux
Linux
 
chapter 1 introduction to operating system
chapter 1 introduction to operating systemchapter 1 introduction to operating system
chapter 1 introduction to operating system
 
Process management os concept
Process management os conceptProcess management os concept
Process management os concept
 

Similar to Unix System Overview

LinuxOS-1 (1).ppt
LinuxOS-1 (1).pptLinuxOS-1 (1).ppt
LinuxOS-1 (1).pptSavitha74
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating Systemsubhsikha
 
UNIT II-Programming in Linux
UNIT II-Programming in LinuxUNIT II-Programming in Linux
UNIT II-Programming in LinuxDr.YNM
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-oshomeworkping3
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentalsRaghu nath
 
Introduction to unix (1).pptx
Introduction to unix (1).pptxIntroduction to unix (1).pptx
Introduction to unix (1).pptxvirat834293
 
1_Introduction_To_Unix_and_Basic_Unix_Commands
1_Introduction_To_Unix_and_Basic_Unix_Commands1_Introduction_To_Unix_and_Basic_Unix_Commands
1_Introduction_To_Unix_and_Basic_Unix_CommandsGautam Raja
 
Introduction to Unix Concets.pptx
Introduction to Unix Concets.pptxIntroduction to Unix Concets.pptx
Introduction to Unix Concets.pptxHarsha Patel
 
Introduction to Unix Concets.pptx
Introduction to Unix Concets.pptxIntroduction to Unix Concets.pptx
Introduction to Unix Concets.pptxHarsha Patel
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | BlocksUnix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | BlocksLOKESH KUMAR
 
linuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdflinuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdfShaswatSurya
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsMeenalJabde
 
16. Computer Systems Basic Software 2
16. Computer Systems   Basic Software 216. Computer Systems   Basic Software 2
16. Computer Systems Basic Software 2New Era University
 

Similar to Unix System Overview (20)

Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
 
LinuxOS-1 (1).ppt
LinuxOS-1 (1).pptLinuxOS-1 (1).ppt
LinuxOS-1 (1).ppt
 
Unix case-study
Unix case-studyUnix case-study
Unix case-study
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
UNIT II-Programming in Linux
UNIT II-Programming in LinuxUNIT II-Programming in Linux
UNIT II-Programming in Linux
 
Unix1
Unix1Unix1
Unix1
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-os
 
Introduction to unix
Introduction to unixIntroduction to unix
Introduction to unix
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Operating system
Operating systemOperating system
Operating system
 
Introduction to unix (1).pptx
Introduction to unix (1).pptxIntroduction to unix (1).pptx
Introduction to unix (1).pptx
 
Spsl unit1
Spsl   unit1Spsl   unit1
Spsl unit1
 
1_Introduction_To_Unix_and_Basic_Unix_Commands
1_Introduction_To_Unix_and_Basic_Unix_Commands1_Introduction_To_Unix_and_Basic_Unix_Commands
1_Introduction_To_Unix_and_Basic_Unix_Commands
 
Introduction to Unix Concets.pptx
Introduction to Unix Concets.pptxIntroduction to Unix Concets.pptx
Introduction to Unix Concets.pptx
 
Introduction to Unix Concets.pptx
Introduction to Unix Concets.pptxIntroduction to Unix Concets.pptx
Introduction to Unix Concets.pptx
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | BlocksUnix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | Blocks
 
Linux file system
Linux file systemLinux file system
Linux file system
 
linuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdflinuxfilesystem-180727181106 (1).pdf
linuxfilesystem-180727181106 (1).pdf
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix Concepts
 
16. Computer Systems Basic Software 2
16. Computer Systems   Basic Software 216. Computer Systems   Basic Software 2
16. Computer Systems Basic Software 2
 

Recently uploaded

Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
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
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
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
 
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
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
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
 
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
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 

Recently uploaded (20)

Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.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
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.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
 
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
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
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Ă...
 
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
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
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
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 

Unix System Overview

  • 2. Unix System  The Unix operating system is a set of programs that act as a link between the computer and the user.  Unix was originally developed in 1969 by a group of AT&T employees Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna at Bell Labs.  There are various Unix variants available in the market. Solaris Unix, AIX, HP Unix and BSD are a few examples. Linux is also a flavor of Unix which is freely available.
  • 3.  Several people can use a Unix computer at the same time; hence Unix is called a multiuser system.  A user can also run multiple programs at the same time; hence Unix is a multitasking environment.
  • 4. Unix Architecture Users communicate with the kernel through a program known as the shell. The shell is a command line interpreter; it translates commands entered by the user and converts them into a language that is understood by the kernel.
  • 6. Kernel The kernel is the heart of the operating system. It interacts with the hardware and most of the tasks like memory management, task scheduling and file management. SOME OTHER FUNCTIONS PERFORMED BY THE KERNEL IN UNIX SYSTEM ARE:  Managing the machine’s memory and allocating it to each process and decides their priorities.  Scheduling the work done by the CPU so that the work of each user is carried out as efficiently as is possible.
  • 7.  Organizing the transfer of data from one part of the machine to another.  Accepting instructions from the unix shell and carrying them out.  Enforcing the access permissions that are in force on the file system
  • 8. Shell The shell is the utility that processes your requests. When you type in a command at your terminal, the shell interprets the command and calls the program that you want. The shell uses standard syntax for all commands. C Shell, Bourne Shell and Korn Shell are the most famous shells which are available with most of the Unix variants.
  • 9.  You can use any one of these unix shells if they are available on your system. And you can switch between the different unix shells once you have found out if they are available. TC shell (tcsh) Korn shell (ksh) Bourne Again SHell (bash) Bourne shell (sh) C shell (csh)
  • 10. Commands and Utilities There are various commands and utilities which you can make use of in your day to day activities. cp, mv, cat and grep, etc. are few examples of commands and utilities. There are over 250 standard commands plus numerous others provided through 3rd party software. All the commands come along with various options.
  • 11. Files and Directories All the data of Unix is organized into files. All files are then organized into directories. These directories are further organized into a tree-like structure called the files ystem.
  • 12. Functions of Unix 1. Security The operating system uses password protection to protect user data and similar other techniques. it also prevents unauthorized access to programs and user data. 2. Control over system performance Monitors overall system health to help improve performance. records the response time between service requests and system response to have a complete view of the system health. This can help improve performance by providing important information needed to troubleshoot problems.
  • 13. 3. Job accounting Operating system Keeps track of time and resources used by various tasks and users, this information can be used to track resource usage for a particular user or group of user. 4. Error detecting aids Operating system constantly monitors the system to detect errors and avoid the malfunctioning of computer system.
  • 14. 5. Coordination between other software and users Operating systems also coordinate and assign interpreters, compilers, assemblers and other software to the various users of the computer systems. 6. Memory Management The operating system manages the Primary Memory or Main Memory. Main memory is made up of a large array of bytes or words where each byte or word is assigned a certain address. Main memory is a fast storage and it can be accessed directly by the CPU. For a program to be executed, it should be first loaded in the main memory.
  • 15. 7. Processor Management In a multi programming environment, the OS decides the order in which processes have access to the processor, and how much processing time each process has. This function of OS is called process scheduling. An Operating System performs the following activities for processor management. 8. Device Management An OS manages device communication via their respective drivers. It performs the following activities for device management. Keeps tracks of all devices connected to system. designates a program responsible for every device known as the Input/Output controller.
  • 16. 9. File Management A file system is organized into directories for efficient or easy navigation and usage. These directories may contain other directories and other files. An Operating System carries out the following file management activities. It keeps track of where information is stored, user access settings and status of every file and more… These facilities are collectively known as the file system.
  • 17. Unix File System  Unix file system is a logical method of organizing and storing large amounts of information in a way that makes it easy to manage. A file is a smallest unit in which the information is stored. Unix file system has several important features. All data in Unix is organized into files. All files are organized into directories. These directories are organized into a tree- like structure called the file system.
  • 18.
  • 19. Directories or Files and their description  / : The slash / character alone denotes the root of the filesystem tree.  /bin : Stands for “binaries” and contains certain fundamental utilities, such as ls or cp, which are generally needed by all users.  /boot : Contains all the files that are required for successful booting process.  /dev : Stands for “devices”. Contains file representations of peripheral devices and pseudo-devices.  /etc : Contains system-wide configuration files and system databases. Originally also contained “dangerous maintenance utilities” such as init,but these have typically been moved to /sbin or elsewhere.  /home : Contains the home directories for the users.
  • 20.  /lib : Contains system libraries, and some critical files such as kernel modules or device drivers.  /media : Default mount point for removable devices, such as USB sticks, media players, etc.  /mnt : Stands for “mount”. Contains filesystem mount points. These are used, for example, if the system uses multiple hard disks or hard disk partitions. It is also often used for remote (network) filesystems, CD-ROM/DVD drives, and so on.  /proc : procfs virtual filesystem showing information about processes as files.
  • 21.  /root : The home directory for the superuser “root” – that is, the system administrator. This account’s home directory is usually on the initial filesystem, and hence not in /home (which may be a mount point for another filesystem) in case specific maintenance needs to be performed, during which other filesystems are not available. Such a case could occur, for example, if a hard disk drive suffers physical failures and cannot be properly mounted.  /tmp : A place for temporary files. Many systems clear this directory upon startup; it might have tmpfs mounted atop it, in which case its contents do not survive a reboot, or it might be explicitly cleared by a startup script at boot time.
  • 22.  /usr : Originally the directory holding user home directories,its use has changed.
  • 23.
  • 24. 1. Ordinary files An ordinary file is a file on the system that contains data, text, or program instructions. Used to store your information, such as some text you have written or an image you have drawn. This is the type of file that you usually work with. Always located within/under a directory file. Do not contain other files. In long-format output of ls -l, this type of file is specified by the “-” symbol.
  • 25. 2. Directories Directories store both special and ordinary files. For users familiar with Windows or Mac OS, UNIX directories are equivalent to folders. A directory file contains an entry for every file and subdirectory that it houses. If you have 10 files in a directory, there will be 10 entries in the directory. Each entry has two components. (1) The Filename (2) A unique identification number for the file or directory (called the inode number)
  • 26. 3. Special Files Used to represent a real physical device such as a printer, tape drive or terminal, used for Input/Ouput (I/O) operations. Device or special files are used for device Input/Output(I/O) on UNIX and Linux systems. They appear in a file system just like an ordinary file or a directory.  On UNIX systems there are two flavors of special files for each device, character special files and block special files :  When a character special file is used for device Input/Output(I/O), data is transferred one character at a time. This type of access is called raw device access.  When a block special file is used for device Input/Output(I/O), data is transferred in large fixed-size blocks. This type of access is called block device access.
  • 27. 4. Pipes UNIX allows you to link commands together using a pipe. The pipe acts a temporary file which only exists to hold data from one command until it is read by another.A Unix pipe provides a one-way flow of data.The output or result of the first command sequence is used as the input to the second command sequence. To make a pipe, put a vertical bar (|) on the command line between two commands.For example: who | wc -l In long-format output of ls –l , named pipes are marked by the “p” symbol.
  • 28. 5. Sockets A Unix socket (or Inter-process communication socket) is a special file which allows for advanced inter-process communication. A Unix Socket is used in a client-server application framework. In essence, it is a stream of data, very similar to network stream (and network sockets), but all the transactions are local to the filesystem. In long-format output of ls -l, Unix sockets are marked by “s” symbol.
  • 29. 6. Symbolic Link Symbolic link is used for referencing some other file of the file system.Symbolic link is also known as Soft link. It contains a text form of the path to the file it references. To an end user, symbolic link will appear to have its own name, but when you try reading or writing data to this file, it will instead reference these operations to the file it points to. If we delete the soft link itself , the data file would still be there.If we delete the source file or move it to a different location, symbolic file will not function properly. In long-format output of ls –l , Symbolic link are marked by the “l” symbol (that’s a lower case L).