Beruflich Dokumente
Kultur Dokumente
2.2
2.3
2.4
2.5
Machine cycle
2.6
Virtual Memory
http://www.youtube.com/watch?v=Fx_I6-dL__0
2.7
2.8
2.9
2.10
2.11
2.12
Information maintenance
Communications Protection
2.13
2.14
MS-DOS execution
2.15
2.16
2.17
Layered Approach
The operating system is divided into a number of layers (levels), each built
on top of lower layers. The bottom layer (layer 0), is the hardware; the highest (layer N) is the user interface.
With modularity, layers are selected such that each uses functions
2.18
2.19
UNIX
UNIX limited by hardware functionality, the original UNIX operating
system had limited structuring. The UNIX OS consists of two separable parts
Systems programs
The kernel
Consists of everything below the system-call interface and above the physical hardware
Provides the file system, CPU scheduling, memory management, and other operating-system functions; a large number of functions for one level
2.20
2.21
Easier to extend a microkernel Easier to port the operating system to new architectures More reliable (less code is running in kernel mode) More secure Performance overhead of user space to kernel space communication
Detriments:
2.22
http://www.youtube.com/watch?v=V 9AiN7oJaIM&feature=related
2.23
Virtual Machines
A virtual machine takes the layered approach to its logical
conclusion. It treats hardware and the operating system kernel as though they were all hardware
A virtual machine provides an interface identical to the
computer
2.24
Non-virtual Machine
Virtual Machine
2.25
clear Clear screen pwd Print Working Directory cd Change Directory mkdir Make Directory rmdir Remove directory ls List of directory cp file1 file2 File2 would be created.
cd dir1
Change directory to dir1 Change directory to root dir Change Directory to home dir Change Directory to home dir Rename file1 to file2 Remove file file2
cd /
cd
cd ~
mv file1 file2
rm -f file2
rm I file2
Remove file in an interactive mode
2.26
cat <<filename>> See the content of file rm <<filename> Remove the file mv <<oldfilename>> <<newfilename>> Rename the file more <<filename>> View the file content, it allows scroll down less <<filename>> View the file content, it allows scroll up and down touch <<filename>> Empty file will be created
2.27
End of Chapter 2