Professional Documents
Culture Documents
Odfggh
Odfggh
Odfggh
Registration number:18bce2427
Operating Systems lab slot E2- l19+l20
Lab 1
1. Create a text file using vi editor and save the file. Save the file in which directory it is stored
2. Create a new directory and check the current directory for the default files
3. Identify a directory , file, user privileges, owner, group, date – write shell scrip
Lab 2
1. Create an empty file. Add content to the file. Change the name of the file using shell
script.
2. Write a shell script to make directories /dir1/dir2 and create a file inside
dir2.
Lab 3
1, Write a shell script to get a number from the user and reverse a
given number.
2, In a directory create files and change the name of the files
with .new extension
2) Find out all the daemon process running in the system. Display their
pid and name. Show the cpu and memory consumption of one daemon
process.