OS Lab 01 Task 23022024 044407pm
OS Lab 01 Task 23022024 044407pm
Submit your file in PDF format. Comprising of screen shot of your command use along with the output
File should have your
Name
Enrollment Number
Semester mention in the header
EXERCISES
Exercise 1
.
1. Make a text file cantoning your name, enrollment number, and semester in
which you are studying and display the content of file at terminal.
2. Write a command to display time and date.
3. Write a command to create the following directories
Fruit
Vegetable
Animal
Create sub-directories of the above directories
Write a command to check whether the above created directories exists?
Write a command to change directories.
Write a command to remove up created directories
Show the current path in you are working
Exercise 2
1. What is a file system?
2. What does superblock contain?
3. What is root directory?
4. What is Lilo?
5. What information is kept in /dev?
6. Give names of few files that the directory /etc contain?
7. What is the purpose of /usr? Where the code for Linux kernel is kept?
8. What is MBR?
PRACTICE EXCERCISE
1 cat
2 find
3 read
4 more
5 env
6 echo
7 export
8 history
9 source
10 ps
Practice given commands