Operating System - Lab
–––
Student Name Atharva Galwade
SRN No 31242599
Roll No 57
Program Computer Engineering
Year Second Year
Division E
Subject Operating System - Lab
Assignment No 1
Operating System - Lab
Assignment Number 01
1. Change your password to a password you would like to use for the remainder of the semester.
2. Display the system’s date.
3. Count the number of lines in the /etc/passwd file.
4. Find out who else is on the system
5. Direct the output of the man pages for the date command to a file named mydate.
6. Create a subdirectory called mydir.
7. Move the file mydate into the new subdirectory.
Operating System - Lab
8. Go to the subdirectory mydir and copy the file mydate to a new file called ourdate.
9. List the contents of mydir.
10. Do a long listing on the file ourdate and note the permissions.
11. Display the name of the current directory starting from the root.
12. Move the files in the directory mydir back to the HOME directory.
13. List all the files in your HOME directory.
14. Display the first 5 lines of mydate.
15. Display the last 8 lines of mydate.
Operating System - Lab