Vansh Osy
Vansh Osy
SESSION : 24-25
PRACTICAL FILE
ENROLLMENT NO : 2216830377
INDEX
SR. NO NAME OF PRACTICAL
1 Install and configure Linux (or alike) operating system.
2 Execute general purpose commands date, time, cal, clear, banner, tty,
script, man.
3 Work with multiple linux terminals and basic commands : who, who am I,
login, passwd, su, pwd.
4 a) Use Operating services (Editor, GUI, File handling) b) Run commands to
start, stop, and restart the specified services in Linux.
5 Execute process commands 3 ps, wait, sleep, exit, kill.
6 Execute file and directory manipulation commands 3 ls, rm, mv, cp, join,
split, cat (file saving and reduction operator), head, tail, touch.
7 Execute file and directory manipulation commands 3 diff, comm, pr,
chmod, mkdir, rmdir, cd, pwd ,dir , cmp. (Use wild card character).
8 Execute text processing tr, wc, cut, paste, spell, sort, grep, more.
9 Use vi editor and perform all the editor commands.
10 Write and execute Shell Script by using following Control Statements
features if statement.
11 Write and execute Shell Script by using following Control statements
features for statement, exit, break, continue.
12 Write Shell Scripts to find out whether Given file exists
13 Write Shell Script to find out whether File has read, write, and execute
permissions
14 Write a program to calculate total waiting time and turnaround time of n
processes with FCFS CPU scheduling Algorithm.
15 Write a C program to implement FIFO page replacement Algorithm.
Practical no. 2: Execute general purpose commands date, time, cal, clear, banner, tty,
script, man.
OUTPUT 1:-
OUTPUT 2:-
Practical 3 :-Work with multiple linux terminals and basic commands : who, who am I,
login, passwd, su, pwd.
OUTPUT 1:-
OUTPUT 2 :-
Practical 4 :- a) Use Operating services (Editor, GUI, File handling) b) Run commands to
start, stop, and restart the specified services in Linux.
OUTPUT :-
Practical 5 :-Execute process commands 3 ps, wait, sleep, exit, kill.
OUTPUT :-
Practical 6 :-Execute file and directory manipulation commands 3 ls, rm, mv, cp, join, split,
cat (file saving and reduction operator), head, tail, touch.
OUTPUT :-
Practical 7 :Execute file and directory manipulation commands 3 diff, comm, pr, chmod,
mkdir, rmdir, cd, pwd ,dir , cmp. (Use wild card character).
OUTPUT :-
Practical 8 :-Execute text processing tr, wc, cut, paste, spell, sort, grep, more.
OUTPUT :-
OUTPUT2 :-
Practical 11:-Write and execute Shell Script by using following Control statements
features 3 5for6 statement, exit, break, continue.
OUTPUT 1:-
OUTPUT 2:-
Practical 12:-Write Shell Scripts to find out whether 3 Given file exists ?
OUTPUT :-
Practical 13:-Write Shell Script to find out whether File has read, write, and execute
permissions
OUTPUT :-
Practical 14:Write a program to calculate total waiting time and turnaround time of n
processes with FCFS CPU scheduling Algorithm.
OUTPUT :-
Practical 15:-Write a C program to implement FIFO page replacement Algorithm.
OUTPUT 1:-
OUTPUT 2:-