SlideShare a Scribd company logo
UNIX OPERATING
SYSTEM
BY:251,253,254,252,255
In-order to introduce
concept of UNIX O.S we should go
through certain topics :
1-> COMPONENTS OF COMPUTER SYSTEM.
2-> WHAT IS AN OPERATING SYSTEM ?
End
User
Programmer
Operating-
System
Designer
Computer Hardware
Operating-System
Utilities
Application
Programs
Hardware – provides basic computing resources (CPU, memory, I/O
devices).
Operating system – controls and coordinates the use of the hardware
among the various application programs for the various users.
Utilities – Programs that assist in system management and software
development.
Applications programs – define the ways in which the system
resources are used to solve the computing problems of the users
(compilers, database systems, video games, business programs).
An Operating System is a program that acts as an
interface between the user of a computer and the
computer hardware.
Operating system goals:
* Control/execute application programs.
* Make the computer system convenient to use.
* Make solving user problems easier.
* Use the computer hardware in an efficient manner.
The Unix operating system found its beginnings in MULTICS
which stands for Multiplexed Operating and Computing
system.
The MULTICS project began in the mid 1960s as a joint effort
by General Electric, Massachusetts Institute for
Technology and Bell Laboratories.
In 1969 Bell Laboratories pulled out of the project.
One of Bell Laboratories people
involved in the project
was “Ken Thompson”.
He liked the potential MULTICS had, but felt it was too
complex and that the same thing could be done in simpler
way.
IN 1969 he wrote first version of UNIX called as UNIC.
UNICS stood for “UNI-PLEXED” operating system
And eventually shortened to UNIX.
Unix Operating System
Kernel: The kernel is the heart of the operating system. It interacts
with hardware and most of the tasks .
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.
Commands and Utilities: There are various command and
utilities which you would use in your day to day activities. cp,
mv, cat and grep.
Files and Directories: 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.
1. Multi-user system : Multi-user capability of UNIX allows several users to
use the same computer to perform their tasks.
2. Multi-tasking : Multitasking is the capability of the operating system to
perform various task simultaneously, i.e. a user can run multiple tasks
concurrently.
3. Programming Facility : UNIX is highly programmable, the UNIX shell 
has all the necessary ingredients like conditional and control structures, etc.
4. Security : UNIX allows sharing of data; every user must have a single
login name and password. So, accessing another user’s data is impossible
without his permission.
5. Portability : UNIX is portable because it is written in a high level
language. So , UNIX can be run on different computers.
RAM – 256 MB .
HARD DRIVE – 10 minimum and maximum depends on the user
requirement.
VIDEO– Minimum 800X600.
MOUSE – Any.
REMOVAL MEDIA – Most SCSI.
PRINTER – Almost any parallel or serial port.
MODEM– Most serial, if DOS can use it, Unix can too……..
NIC – 3Com, Novell, HP, Intel - Clones are NOT recommended.
 UNIX is a multitasking system.
 Multiple programs can be executed at the same time.
 Ultimately, a program needs to be executed by a CPU.
 If there is only one CPU, how multiple programs can be executed
at the same time?
By time sharing
 That is, all programs are claimed to be executing. In fact, most of
them are waiting for the CPU.
 A program that is claimed to be executing is called a process.
 For a multitasking system, a process has at least the following three
states:
 Ready state
 All processes that are ready to execute but without the CPU are
at the ready state
 If there is only 1 CPU in the system, all processes except one
are at the ready state
 Running state
 The process that actually possesses the CPU is at the running
state
 If there is only 1 CPU in the system, at most there is only one
process is at the running state
 Sleeping state
 The process that is waiting for other resources, e.g. I/O, is at the
sleeping state
 Processes will alternatively get into the CPU one after the other
(called the round robin scheme)
 A process will be “in” a CPU for a very short time (quantum)
 For Linux, each quantum is about 100msec
 At the time that a process is selected to be “in” the CPU
 It goes from ready state to running state
 After that, it will be swapped out
 It goes from running state back to ready state
 Or it may due to the waiting of an I/O device, e.g. mouse
 It goes from running state to sleeping state
 When obtaining the required resource
 It goes from sleeping state to ready state
WHAT IS MEMORY ?
Primary memory is a precious resource that frequently cannot contain all
active processes in the system.
WHAT IS MEMORY MANAGEMENT ?
The memory management system decides which processes should reside
(at least partially) in main memory
It monitors the amount of available primary memory and may periodically
write processes to a secondary device called the swap device to provide
more space in primary memory.
FIG : Typical internal memory layout for single user-
memory part UNIX
MEMORY MANAGEMENT CONCEPTS OF UNIX
1.SWAPPING .
The swap device is a block device in a configurable section of a disk
Kernel allocates contiguous space on the swap device without
fragmentation
It maintains free space of the swap device in an in-core table, called
map
The kernel treats each unit of the swap map as group of disk blocks
As kernel allocates and frees resources, it updates the map
accordingly
2. DEMAND PAGING.
Not all page of process resides in memory locality.
When a process accesses a page that is not part of its working set, it incurs a page
fault.
The kernel suspends the execution of the process until it reads the page into memory
and makes it accessible to the process.
OTHER TECHNIQUES USED ARE AS FOLLOWS
1.Allocating swap space .
2.Free space swap.
3.Page table entry.
4.Disk block description..
A file system is a logical collection of files on a partition or disk.
A partition is a container for information and can span an entire hard drive if desired.
Everything in Unix is considered to be a file, including physical devices such as DVD-ROMs,
USB devices, floppy drives, and so forth.
Unix uses a hierarchical file system structure, much like an upside-
down tree, with root (/) at the base of the file system
and all other directories spreading from there.
It has a root directory (/) that contains other files and directories.
Each file or directory is uniquely identified by its name, the
directory in which it resides, and a unique identifier ,typically called
an inode.
It is self contained. There are no dependencies between one file
system and any other.
The directories have specific purposes and generally hold the
same types of information for easily locating files.
Following are the directories that exist on the major versions of
Unix:
 The directories have specific purposes and generally
hold the same types of information for easily locating
files.
 It has a root directory (/) that contains other files and
directories.
 The inode type field distinguishes between plain files and
directories
 Directory entries are of variable length; each entry
contains first the length of the entry, then the file name
and the inode number
(/mnt) Used to mount other temporary file systems, such as cd rom and
floppy for the CD-ROM drive and floppy disks
(/proc) Contains all processes marked as a file by process number or
other information that is dynamic tot he system.
(/tmp) Holds temporary files used between system boots.
(/usr) Used for miscellaneous purposes, or can be used by many users.
Includes administrative commands, shared files , library files.
(/var ) Typically contains variable-length files such as log and print
files any other type of file that may contain a variable amount of
(/sbin) Contains binary (executable) files, usually for system
administration. For example f-disk and if-config utilities.
(/kernel)Contains kernel files
Being a multi-user system - UNIX have a tremendous amount of
security to offer; many being open source, which can be validated and
modified to meet anyone’s needs.
UNIX system security can be divided into three main areas of concern.
Two of these areas, account security , file system security,
Network security.
Before , any advanced system we should provide physical security to system by keeping it in a
secure and protected area to avoid unauthorized access.
ACCOUNT SECRITY:
 UNIX user community haves no. of user who are given acces to system using authorized (UID) &
(GID).
 The access codes (passwords) to (UID) & (GID) are stored in system
as stored in encrypted format SALTED PASSWORDS to avoid
cracking of pswd.
EX:
UID : syslog 56
Password :**********
The same information is stored in system files in following format:
UID:SaltID:Saltedhash:EncrypedPassword:UserID:GroupID:Complete_Name:home_dir:shell_bin
FILE SYSTEM SECURITY.
 File system security is about making sure your users can only do what you want them
to be able to do. This means that you want system programs to be secure and users
to only be able to write where you want them to be able to.
 To impliment this uses tecn. OF ACLs PERMISSIONS.
 Almost modern files systems, include ACLs to give unprivileged access to only
certain users.

 Permissions are separated by owner, group, and others. On UNIX systems
permissions are displayed as rwxrwxrwx
 With a few more special settings, Desktop environments also provide GUI settings for
easy modifying
NETWORK SECURITY
 Once you put a computer on a network, you allow many more people
potential access to the machine. The key to network security is to allow only
those functions that the users actually need. By disabling non-used
functions, you have much less monitoring/securing.
 Telnet Security:
Using SSH (secure shell). SSH provides encrypted traffic to prevent
snooping.
 FTP Security:
As with other services, if you do not need this functionality, turn it off.
You can turn off incoming FTP or simply certain users. If you need
full FTP functionality, be certain to enable logging and monitor
syslog.
TO GET A CONCLUSION TO OUR PRESENTATION WE ARE PUTTING
FORWARD A COMAPRISON OF WINDOWS OS & UNIX OS.
1.As far as operating systems go, to some it would seem as if UNIX has a
clear advantage over Windows. UNIX offers greater flexibility than Windows
operating systems and it is more stable .
FEW AREAS OF COMPARISON :-
 BETTER MULTIUSER APPROACH.
 BETTER PROCESS HEIRARCHY.
 USE OF DAEMONS.
 BETTER PROGRAMMING ENVIORMENT.
OTHER PRACTICAL COMPARISON WOULD BE :
 Cost
 User
 Security
 Processors
 Multiprocessing
 Open source
 File system supported
So we can say UNIX far more better
Than WINDOWS .
Unix Operating System

More Related Content

PPTX
UNIX Operating System ppt
OECLIB Odisha Electronics Control Library
 
PPTX
UNIX Operating System
Unless Yuriko
 
PPTX
UNIX Operating System
Fatima Qayyum
 
PPTX
Unix Operating System
MahakKasliwal
 
PPT
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Sowmya Jyothi
 
PPT
Architecture of Linux
SHUBHA CHATURVEDI
 
PPTX
Unix
Erm78
 
PDF
Linux kernel Architecture and Properties
Saadi Rahman
 
UNIX Operating System
Unless Yuriko
 
UNIX Operating System
Fatima Qayyum
 
Unix Operating System
MahakKasliwal
 
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Sowmya Jyothi
 
Architecture of Linux
SHUBHA CHATURVEDI
 
Unix
Erm78
 
Linux kernel Architecture and Properties
Saadi Rahman
 

What's hot (20)

PPTX
Linux Memory Management
Suvendu Kumar Dash
 
PPTX
Operating systems unix
Achu dhan
 
PDF
Linux OS presentation
SahilGothoskar
 
PPTX
Introduction to Unix
Nishant Munjal
 
PPT
Linux command ppt
kalyanineve
 
PPTX
Linux ppt
lincy21
 
PDF
Linux Memory Management
Anil Kumar Pugalia
 
PDF
Presentation on linux
Veeral Bhateja
 
PPTX
Operating System Structure
Navid Daneshvaran
 
PDF
Shell scripting
Manav Prasad
 
PPTX
Introduction to linux ppt
Omi Vichare
 
PPT
Linux - Introductions to Linux Operating System
Vibrant Technologies & Computers
 
PPTX
Mac_os_final_piyush
Ριyυѕн Kothyari
 
PDF
Shell scripting
Geeks Anonymes
 
PDF
Linux kernel
Mahmoud Shiri Varamini
 
PPTX
Boot process
Salman Memon
 
PPTX
Linux booting Process
Gaurav Sharma
 
PDF
Ubuntu OS Presentation
Loren Schwappach
 
PPTX
Unix operating system
ABhay Panchal
 
Linux Memory Management
Suvendu Kumar Dash
 
Operating systems unix
Achu dhan
 
Linux OS presentation
SahilGothoskar
 
Introduction to Unix
Nishant Munjal
 
Linux command ppt
kalyanineve
 
Linux ppt
lincy21
 
Linux Memory Management
Anil Kumar Pugalia
 
Presentation on linux
Veeral Bhateja
 
Operating System Structure
Navid Daneshvaran
 
Shell scripting
Manav Prasad
 
Introduction to linux ppt
Omi Vichare
 
Linux - Introductions to Linux Operating System
Vibrant Technologies & Computers
 
Mac_os_final_piyush
Ριyυѕн Kothyari
 
Shell scripting
Geeks Anonymes
 
Boot process
Salman Memon
 
Linux booting Process
Gaurav Sharma
 
Ubuntu OS Presentation
Loren Schwappach
 
Unix operating system
ABhay Panchal
 
Ad

Viewers also liked (14)

PDF
Processes in unix
miau_max
 
PPTX
Unix ppt
sudhir saurav
 
PPT
Ms dos
Mercy Lou Yecla
 
PPTX
Historia de ms-dos
Dianithaa17
 
PPT
Introduction to ms dos
Indika Rathninda
 
PPT
Unix memory management
Tech_MX
 
PPT
Linux Introduction
Ramasubbu .P
 
PPTX
Unix Process management
Wave Digitech
 
PPT
comparing windows and linux ppt
Shivalik college of engineering
 
PPTX
Linux v/s Windows
Sukhdeep Singh
 
PPT
Case study linux
Abhishek Masiiwal
 
PPTX
Disk operating system
Raza Jaan
 
PPT
MS DOS
sumatipuri
 
Processes in unix
miau_max
 
Unix ppt
sudhir saurav
 
Historia de ms-dos
Dianithaa17
 
Introduction to ms dos
Indika Rathninda
 
Unix memory management
Tech_MX
 
Linux Introduction
Ramasubbu .P
 
Unix Process management
Wave Digitech
 
comparing windows and linux ppt
Shivalik college of engineering
 
Linux v/s Windows
Sukhdeep Singh
 
Case study linux
Abhishek Masiiwal
 
Disk operating system
Raza Jaan
 
MS DOS
sumatipuri
 
Ad

Similar to Unix Operating System (20)

PPTX
Unix case-study
NishantMishra126
 
PDF
unixoperatingsystem-130327073532-phpapp01.pdf
IxtiyorTeshaboyev
 
PPTX
Unix Operaring System
Mahnoor Shaukat
 
PPTX
Unix operating system architecture with file structure
amol_chavan
 
PPTX
Unix and shell programming | Unix File System | Unix File Permission | Blocks
LOKESH KUMAR
 
PPT
Spsl unit1
Sasidhar Kothuru
 
PPTX
Introduction to Unix Concets.pptx
Harsha Patil
 
PPTX
Introduction to Unix Concets.pptx
Harsha Patil
 
DOCX
UNIT II-Programming in Linux
Dr.YNM
 
PPTX
CHAPTER 1 INTRODUCTION TO UNIX.pptx
MahiDivya
 
PPTX
UNIX_module1.pptx
kushvithchinna900
 
PPT
Unix fundamentals
Bimal Jain
 
PPT
Module1-UNIX architecture; FEATURES OF UNIX OS
RAVIRAJ P
 
PPTX
Unix_Introduction_BCA.pptx the very basi
Priyadarshini648418
 
DOC
Introduction to unix
Chandru Jangin
 
DOC
Unix Quick Learn
Nisanth
 
PPT
16. Computer Systems Basic Software 2
New Era University
 
PDF
Unix - An Introduction
Deepanshu Gahlaut
 
PPTX
Shells commands, file structure, directory structure.pptx
SherinRappai
 
Unix case-study
NishantMishra126
 
unixoperatingsystem-130327073532-phpapp01.pdf
IxtiyorTeshaboyev
 
Unix Operaring System
Mahnoor Shaukat
 
Unix operating system architecture with file structure
amol_chavan
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
LOKESH KUMAR
 
Spsl unit1
Sasidhar Kothuru
 
Introduction to Unix Concets.pptx
Harsha Patil
 
Introduction to Unix Concets.pptx
Harsha Patil
 
UNIT II-Programming in Linux
Dr.YNM
 
CHAPTER 1 INTRODUCTION TO UNIX.pptx
MahiDivya
 
UNIX_module1.pptx
kushvithchinna900
 
Unix fundamentals
Bimal Jain
 
Module1-UNIX architecture; FEATURES OF UNIX OS
RAVIRAJ P
 
Unix_Introduction_BCA.pptx the very basi
Priyadarshini648418
 
Introduction to unix
Chandru Jangin
 
Unix Quick Learn
Nisanth
 
16. Computer Systems Basic Software 2
New Era University
 
Unix - An Introduction
Deepanshu Gahlaut
 
Shells commands, file structure, directory structure.pptx
SherinRappai
 

Recently uploaded (20)

PDF
Landforms and landscapes data surprise preview
jpinnuck
 
PPTX
How to Manage Global Discount in Odoo 18 POS
Celine George
 
PPTX
Understanding operators in c language.pptx
auteharshil95
 
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
PPTX
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
PDF
Sunset Boulevard Student Revision Booklet
jpinnuck
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PPTX
Strengthening open access through collaboration: building connections with OP...
Jisc
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
DOCX
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
PDF
5.EXPLORING-FORCES-Detailed-Notes.pdf/8TH CLASS SCIENCE CURIOSITY
Sandeep Swamy
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PDF
Exploring-Forces 5.pdf/8th science curiosity/by sandeep swamy notes/ppt
Sandeep Swamy
 
PPTX
Congenital Hypothyroidism pptx
AneetaSharma15
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
Landforms and landscapes data surprise preview
jpinnuck
 
How to Manage Global Discount in Odoo 18 POS
Celine George
 
Understanding operators in c language.pptx
auteharshil95
 
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
Sunset Boulevard Student Revision Booklet
jpinnuck
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Strengthening open access through collaboration: building connections with OP...
Jisc
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
5.EXPLORING-FORCES-Detailed-Notes.pdf/8TH CLASS SCIENCE CURIOSITY
Sandeep Swamy
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
Exploring-Forces 5.pdf/8th science curiosity/by sandeep swamy notes/ppt
Sandeep Swamy
 
Congenital Hypothyroidism pptx
AneetaSharma15
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 

Unix Operating System

  • 2. In-order to introduce concept of UNIX O.S we should go through certain topics : 1-> COMPONENTS OF COMPUTER SYSTEM. 2-> WHAT IS AN OPERATING SYSTEM ?
  • 4. Hardware – provides basic computing resources (CPU, memory, I/O devices). Operating system – controls and coordinates the use of the hardware among the various application programs for the various users. Utilities – Programs that assist in system management and software development. Applications programs – define the ways in which the system resources are used to solve the computing problems of the users (compilers, database systems, video games, business programs).
  • 5. An Operating System is a program that acts as an interface between the user of a computer and the computer hardware. Operating system goals: * Control/execute application programs. * Make the computer system convenient to use. * Make solving user problems easier. * Use the computer hardware in an efficient manner.
  • 6. The Unix operating system found its beginnings in MULTICS which stands for Multiplexed Operating and Computing system. The MULTICS project began in the mid 1960s as a joint effort by General Electric, Massachusetts Institute for Technology and Bell Laboratories. In 1969 Bell Laboratories pulled out of the project.
  • 7. One of Bell Laboratories people involved in the project was “Ken Thompson”. He liked the potential MULTICS had, but felt it was too complex and that the same thing could be done in simpler way. IN 1969 he wrote first version of UNIX called as UNIC. UNICS stood for “UNI-PLEXED” operating system And eventually shortened to UNIX.
  • 9. Kernel: The kernel is the heart of the operating system. It interacts with hardware and most of the tasks . 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. Commands and Utilities: There are various command and utilities which you would use in your day to day activities. cp, mv, cat and grep. Files and Directories: 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.
  • 10. 1. Multi-user system : Multi-user capability of UNIX allows several users to use the same computer to perform their tasks. 2. Multi-tasking : Multitasking is the capability of the operating system to perform various task simultaneously, i.e. a user can run multiple tasks concurrently. 3. Programming Facility : UNIX is highly programmable, the UNIX shell has all the necessary ingredients like conditional and control structures, etc.
  • 11. 4. Security : UNIX allows sharing of data; every user must have a single login name and password. So, accessing another user’s data is impossible without his permission. 5. Portability : UNIX is portable because it is written in a high level language. So , UNIX can be run on different computers.
  • 12. RAM – 256 MB . HARD DRIVE – 10 minimum and maximum depends on the user requirement. VIDEO– Minimum 800X600. MOUSE – Any. REMOVAL MEDIA – Most SCSI. PRINTER – Almost any parallel or serial port. MODEM– Most serial, if DOS can use it, Unix can too…….. NIC – 3Com, Novell, HP, Intel - Clones are NOT recommended.
  • 13.  UNIX is a multitasking system.  Multiple programs can be executed at the same time.  Ultimately, a program needs to be executed by a CPU.  If there is only one CPU, how multiple programs can be executed at the same time? By time sharing  That is, all programs are claimed to be executing. In fact, most of them are waiting for the CPU.
  • 14.  A program that is claimed to be executing is called a process.  For a multitasking system, a process has at least the following three states:
  • 15.  Ready state  All processes that are ready to execute but without the CPU are at the ready state  If there is only 1 CPU in the system, all processes except one are at the ready state  Running state  The process that actually possesses the CPU is at the running state  If there is only 1 CPU in the system, at most there is only one process is at the running state  Sleeping state  The process that is waiting for other resources, e.g. I/O, is at the sleeping state
  • 16.  Processes will alternatively get into the CPU one after the other (called the round robin scheme)  A process will be “in” a CPU for a very short time (quantum)  For Linux, each quantum is about 100msec  At the time that a process is selected to be “in” the CPU  It goes from ready state to running state  After that, it will be swapped out  It goes from running state back to ready state  Or it may due to the waiting of an I/O device, e.g. mouse  It goes from running state to sleeping state  When obtaining the required resource  It goes from sleeping state to ready state
  • 17. WHAT IS MEMORY ? Primary memory is a precious resource that frequently cannot contain all active processes in the system. WHAT IS MEMORY MANAGEMENT ? The memory management system decides which processes should reside (at least partially) in main memory It monitors the amount of available primary memory and may periodically write processes to a secondary device called the swap device to provide more space in primary memory.
  • 18. FIG : Typical internal memory layout for single user- memory part UNIX
  • 19. MEMORY MANAGEMENT CONCEPTS OF UNIX 1.SWAPPING . The swap device is a block device in a configurable section of a disk Kernel allocates contiguous space on the swap device without fragmentation It maintains free space of the swap device in an in-core table, called map The kernel treats each unit of the swap map as group of disk blocks As kernel allocates and frees resources, it updates the map accordingly
  • 20. 2. DEMAND PAGING. Not all page of process resides in memory locality. When a process accesses a page that is not part of its working set, it incurs a page fault. The kernel suspends the execution of the process until it reads the page into memory and makes it accessible to the process. OTHER TECHNIQUES USED ARE AS FOLLOWS 1.Allocating swap space . 2.Free space swap. 3.Page table entry. 4.Disk block description..
  • 21. A file system is a logical collection of files on a partition or disk. A partition is a container for information and can span an entire hard drive if desired. Everything in Unix is considered to be a file, including physical devices such as DVD-ROMs, USB devices, floppy drives, and so forth.
  • 22. Unix uses a hierarchical file system structure, much like an upside- down tree, with root (/) at the base of the file system and all other directories spreading from there. It has a root directory (/) that contains other files and directories. Each file or directory is uniquely identified by its name, the directory in which it resides, and a unique identifier ,typically called an inode. It is self contained. There are no dependencies between one file system and any other. The directories have specific purposes and generally hold the same types of information for easily locating files. Following are the directories that exist on the major versions of Unix:
  • 23.  The directories have specific purposes and generally hold the same types of information for easily locating files.  It has a root directory (/) that contains other files and directories.  The inode type field distinguishes between plain files and directories  Directory entries are of variable length; each entry contains first the length of the entry, then the file name and the inode number
  • 24. (/mnt) Used to mount other temporary file systems, such as cd rom and floppy for the CD-ROM drive and floppy disks (/proc) Contains all processes marked as a file by process number or other information that is dynamic tot he system. (/tmp) Holds temporary files used between system boots. (/usr) Used for miscellaneous purposes, or can be used by many users. Includes administrative commands, shared files , library files. (/var ) Typically contains variable-length files such as log and print files any other type of file that may contain a variable amount of (/sbin) Contains binary (executable) files, usually for system administration. For example f-disk and if-config utilities. (/kernel)Contains kernel files
  • 25. Being a multi-user system - UNIX have a tremendous amount of security to offer; many being open source, which can be validated and modified to meet anyone’s needs. UNIX system security can be divided into three main areas of concern. Two of these areas, account security , file system security, Network security.
  • 26. Before , any advanced system we should provide physical security to system by keeping it in a secure and protected area to avoid unauthorized access. ACCOUNT SECRITY:  UNIX user community haves no. of user who are given acces to system using authorized (UID) & (GID).  The access codes (passwords) to (UID) & (GID) are stored in system as stored in encrypted format SALTED PASSWORDS to avoid cracking of pswd. EX: UID : syslog 56 Password :********** The same information is stored in system files in following format: UID:SaltID:Saltedhash:EncrypedPassword:UserID:GroupID:Complete_Name:home_dir:shell_bin
  • 27. FILE SYSTEM SECURITY.  File system security is about making sure your users can only do what you want them to be able to do. This means that you want system programs to be secure and users to only be able to write where you want them to be able to.  To impliment this uses tecn. OF ACLs PERMISSIONS.  Almost modern files systems, include ACLs to give unprivileged access to only certain users.   Permissions are separated by owner, group, and others. On UNIX systems permissions are displayed as rwxrwxrwx  With a few more special settings, Desktop environments also provide GUI settings for easy modifying
  • 28. NETWORK SECURITY  Once you put a computer on a network, you allow many more people potential access to the machine. The key to network security is to allow only those functions that the users actually need. By disabling non-used functions, you have much less monitoring/securing.  Telnet Security: Using SSH (secure shell). SSH provides encrypted traffic to prevent snooping.  FTP Security: As with other services, if you do not need this functionality, turn it off. You can turn off incoming FTP or simply certain users. If you need full FTP functionality, be certain to enable logging and monitor syslog.
  • 29. TO GET A CONCLUSION TO OUR PRESENTATION WE ARE PUTTING FORWARD A COMAPRISON OF WINDOWS OS & UNIX OS. 1.As far as operating systems go, to some it would seem as if UNIX has a clear advantage over Windows. UNIX offers greater flexibility than Windows operating systems and it is more stable . FEW AREAS OF COMPARISON :-  BETTER MULTIUSER APPROACH.  BETTER PROCESS HEIRARCHY.  USE OF DAEMONS.  BETTER PROGRAMMING ENVIORMENT.
  • 30. OTHER PRACTICAL COMPARISON WOULD BE :  Cost  User  Security  Processors  Multiprocessing  Open source  File system supported So we can say UNIX far more better Than WINDOWS .