0% found this document useful (0 votes)
7 views

os file index

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

os file index

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

AMITY UNIVERSITY MADHYA

PRADESH, GWALIOR

LAB FILE
OF
OPERATING SYSTEMS LAB
(CSE 424)

Submitted To Submitted By
Dr. Manish Gupta Rohit Sharma
Assistant Professor, CSE Dept. B-Tech (CSE) IV
A60205222108
INDEX

S.No. Name of Experiment Date Page Signature


No.

1. 1-3
Write various commands for writing shell script in Unix. 11/01/24

2.
Write a shell script to change the permission of a file or 4-5
18/01/24
directory by using symbolic / absolute mode.

3.
Write a shell script to compress a file by using gzip and 6-7
25/01/24
decompress a file by using gunzip.

4.
Write a shell script to find a given pattern in a list of files 8
08/02/24
of current directory using grep and fgrep commands.

5. Write a shell script to create 2 directories and store 5 files


in one directory using the related command and to 08/02/24 9-10
transfer all the file to another directories.
6. Write a shell script to accept a file name as input and
display whether it exist or not. if exist then give the 19/02/24 11-12
details of its attribute like access permission, its size etc.
7.
Write a shell script to find how many terminals has this 13
19/02/24
user logged in.

8.
Write a shell script to find out the sum of the given 14
26/02/24
numbers using command line argument.

9.
Write a shell script for factorial of a number in command 15
26/02/24
line argument

10.
Write a shell script to find the largest among the 3 given 16
04/03/24
numbers also write a shell script to find the smallest

11.
Write a shell script to find the sum, product, average of 4 17
04/03/24
integers entered.

12.
Write a shell script to find the sum of digits of a number. 18/03/24 18
13.
Write a shell script to find reverse of numbers. 18/03/24 19

14.
Write a shell script to find a value of one number raised to 20-21
18/03/24
the power of another.

15.
Write a menu driven shell script for copy a file, remove a 22-24
01/04/24
file, move a file.

16. Write a shell program to add, subtract and multiply the


given 2 numbers passed as command line arguments. 01/04/24 25

17. 26
Write a shell script to reverse the content of the file. 08/04/24

18. Write a shell script to define and access array 27


Elements.
24/04/24

19. Write a shell script for Bubble Sort. 28


24/04/24

20. 29
Write a shell script for Selection Sort. 24/04/24

You might also like