Documente Academic
Documente Profesional
Documente Cultură
Objectives
Objectives
Introduction
Bell Labs, GE and Project MAC of MIT ( 1965 )
Developed a new OS called Multics
Provide simultaneous access to users
UNIX system was first described in 1974
By ken Thompson and Dennis Ritchie
Thompson and Ritchie implemented the UNIX
On PDP-7 computer and later on PDP-11 ( 1971 )
In 1973 the UNIX was written in
C programming language
Features of UNIX OS
byte stream.
Features of UNIX OS
bin usr
etc
unix
date.c who.c
Other applications
sh who
cpp Kernel date
cc comp Hardware wc
as a.out
ld vi
standard output
standard error
Programs
Collection of instructions and data in a file.
Marked executable.
Processes .
An executing instance of a program.
Processes.
The program is used to initialize
Instructions
User data
Processes.
Process system data includes attributes
Current directory.
Open files.
Descriptors.
process groups
All process with the same control terminal are sent hangup signal.
Permissions in UNIX.
User ID ,Group ID
Called
Permissions in UNIX.
Two IDs associated with a process
strerror( ).
perror( ).
File subsystem
Process
Buffer cache
control
Character block subsystem
Device drivers
Hardware control
Hardware Level
application
User process
malloc
sbrk Kernel
Header files
signal . h Signals
Header files
Header files
sys/ipc . h IPC
sys/sem . h Semaphores
Header files