Chapter 1
Chapter 1
INTRODUCING UNIX
NES 202 : Introduction to UNIX, Done By : Eng. Rana AlQurem
1.1 The Operating System
2
Modern OS are:
1. multiprogramming
Kernel
Shell
File and Process
System Calls
Commands Interpreter
Invoked only when the user logs in.
Responsible for executing user commands
One kernel – several shells
Examines the keyboard input (command) for special
characters prior to communicating with the kernel
Files
Containers for storing static information
Directories and devices are also files
Files are related to other files by being a part of single
hierarchical structure called file system
Process
A program in execution
Dynamic – resembles living organisms (born and die)
Also forms hierarchy – when a process is a child of another
process
UNIX provides tools to control processes
move them between foreground and background
or kill them
1. A multiuser system
These programs can be run by different users
Kernel uses the principle of time sharing
2. A multitasking system
A user can edit a file, print another one, send email to a friend, and
browse WWW – without leaving any of the applications
3. Repository of Applications
Host of applications shipped with UNIX system
New tools are being added
5. Pattern Matching
Use special characters to match a number of characters
6. Programming Facility
These features are used to design shell scripts
7. Documentation
The online help facility – man commands