



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Linux Operating System lab tasks on ubuntu software.
Typology: Lab Reports
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Prof. Adnan Mustafa| Computer Engineering And Applications | October 15, 2020
University of Engineering &Technology Taxila [OS CLASS TASKS]
OPERATING System LAB
Q. 1 : a. Log in. Open a terminal window, to start a shell. b. Exit from the shell; the terminal window will close. c. Start another shell. Enter each of the following commands in turn. i. date ii. whoami iii. hostname iv. uname v. uptime Answer:
Answer: Q.3: a. Create a second file. Call it secret-of-the-universe , and put in whatever content you deem appropriate. b. Check its creation with ls.
c. Display the contents of this file. Minimize the typing needed to do this: i. Scroll back through the command history to the command you used to create the file. ii. Change that command to display secret-of-the-universe instead of creating it. Answer: Q.4: After each of the following steps, use ls and cat to verify what has happened. a. Copy secret-of-the-universe to a new file called answer.txt. Use Tab to avoid typing the existing file’s name in full. b. Now copy hello.txt to answer.txt. What’s happened now?