0% found this document useful (0 votes)
4 views4 pages

OS Assignment 1

The document outlines an assignment for a Computer Engineering lab focused on Operating Systems. It includes a series of tasks such as changing passwords, displaying system date, managing files and directories, and listing file contents. The assignment is intended for the second-year students, specifically for Atharva Galwade with SRN No 31242599.

Uploaded by

Athreya
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)
4 views4 pages

OS Assignment 1

The document outlines an assignment for a Computer Engineering lab focused on Operating Systems. It includes a series of tasks such as changing passwords, displaying system date, managing files and directories, and listing file contents. The assignment is intended for the second-year students, specifically for Atharva Galwade with SRN No 31242599.

Uploaded by

Athreya
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

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

You might also like