IPS College of Technology & Management
An Institute of IPS Group of Colleges
P.O.: IPS College, Shivpuri Link Road, Gwalior
Ph: 0751 3052400, 3052408
CSE, V Semester
Subject: - CS-505 Linux Lab
LIST OF EXPERIMENTS
S.No. Name of Experiments
1 Explain following Unix Commands with syntax-
(a) ls (b) cp (c)mv (d)wc (e)chmod (f)bc (g)ps
(h)rm (i)who (j)mkdir (h)kill
2 Explain the Layered Structure of Unix/Linux and discuss about all shells.
3 Write a shell script to create a function to print hello.
4 Study & use of the Command for changing file permissions.
5 Write a pipeline of commands, which displays on the monitor as well as saves the information
in a file called “users.sh”.
6 Write a shell script that accepts two numbers from user and add them.
7 Write a shell script to find the smallest of three numbers that are read from the keyboard.
8 Write a shell script to print the table of user given number.
9 Write a shell script to check whether the input number is prime or not.
10 Write a shell script to find the factorial of user given number.
11 Write a shell script to reverse a number.
12 Explain various grep commands with example.
Prepared By
Checked By
Mr. Vineet Raj Singh Mr. Raju Sharma
Assot. Professor, CSE Department Head, CSE Department
E-Mail ID: headcs.ips@gmail.com, Website: http://www.ipsgwalior.org/