Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2/24/16
SarLakG
2/24/16
SarLakG
Operating System
Operating System
Interfaces software & hardware
Interacts with Applications
Interacts with Users, as a language interpreter
Scheduling of multiple programs
Memory management
2/24/16
SarLakG
Different OS
Windows
UNIX
2/24/16
SarLakG
WINDOWS
Windows
GUI Based
Multi-user OS
Proprietary product from Micro-soft
User-friendly
Windows Flavours
2/24/16
Win
Win
Win
Win
Win
Win
Win
Win
95
2000
NT
XP
Vista
2003
7
8
SarLakG
UNIX
What is UNIX?
A computer operating system
A software development environment
Built in late '60s, early '70s
Built by Ken Thompson and Dennis Ritchie
Originally written in assembler, later re-written in
C (allowing greater portability), a language invented by Ritchie
Command Line
Multi-user, Multi-tasking OS
Open source
2/24/16
SarLakG
UNIX Flavours
SarLakG
Windows
SarLakG
UNIX Architecture
2/24/16
SarLakG
Kernel
The kernel is the heart of the operating system
It interacts with hardware
It receives the request from the shell and executes the
statement and returns the output
Tasks
Memory management
Task scheduling
File management
2/24/16
SarLakG
10
Shell
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.
Tasks
Command interpretation
Programming interface
Types of Shells
2/24/16
C Shell
Bourne Shell
Korn Shell
Bash shell(bourne again shell)
SarLakG
11
Shell paths
Shell
Bourne
Bash
Korn
C
Full pathname
/bin/sh
/bin/bash
/bin/ksh
/bin/csh
$ echo $SHELL
2/24/16
SarLakG
12
Prefix
SarLakG
13
Navigation :
example1)
/home/mthomas/class_stuff/foo
example2) /bin/ksh
example3) /etc/passwd
2/24/16
SarLakG
14
2/24/16
SarLakG
15