-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathtest.txt
More file actions
74 lines (70 loc) · 2.12 KB
/
Copy pathtest.txt
File metadata and controls
74 lines (70 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Main Functions of Operating System
• Manages hardware to achieve the best use and performance
by the applications software.
• Executing applications software on hardware devices for the
user.
• Sharing hardware resources among users
• Scheduling of resources.
• Providing user-friendly interfaces for users to use computers
• Separating users from the low-level details of computer
operations.
• Provides valuable services for the user
• Sharing programs and data
• Providing data and access security
• Recovering from errors
History of Operating Systems
• Earliest computers had no OS
• Machine code to access resources;
• Programs executed manually one by one.
• 1950’s Batch processing – earliest OS
• 1960’s Interactive processing, shared systems, real-time
systems
• Late 60’s/Early 70s General-purpose systems – all things to all
users
• Currently
• Simple, user-friendly, GUI systems for microcomputers
Multitasking, networking, security, distributed processing
Operating Systems Components
• Processor Manager – The programs that control the
operations of CPU.
• Includes Scheduler that arranges for the execution of
programs.
• Memory Manager – Controls data storage in main
memory (RAM).
• File Manager – Manages the file system on secondary
storage – directories and files.
• Device Manager – Coordination of peripheral devices.
• Also known as Resource Allocator, includes its own
scheduler components
mkdir Ass-1
mkdir Ass-1/First
mkdir Ass-1/Second
mkdir Ass-1/First/IIIS001
mkdir Ass-1/First/IPRG001
mkdir Ass-1/Second/IBRM001
mkdir Ass-1/Second/IAPP001
mkdir Ass-1/Second/IWBS001
ls -Rlh Ass-1/
cd Ass-1/
vi First/IIIS001/OS-1.TXT
cp First/IIIS001/OS-1.TXT .
cp First/IIIS001/OS-1.TXT Second/IBRM001/OS-2.TXT
mv OS-1.TXT OS-2.TXT
vi OS-2.TXT
cp OS-2.TXT OS-3.TXT
vi OS-3.TXT
mv OS-2.TXT OS-4.TXT
cp OS-3.TXT OS-4.TXT Second/IBRM001/
ls Second/IBRM001/
cp OS-3.TXT OS-4.TXT Second/IWBS001/
ls Second/IWBS001/
cd Second/IWBS001/
mv OS-4.TXT OS-5.TXT
ls
cp OS-3.TXT ..
ls ..
cd ~/Ass-1/
ls Second/IBRM001/
ls First/IIIS001/
cp Second/IBRM001/* First/IIIS001/
ls First/IIIS001/