Lab Report Os
Lab Report Os
Unix/Linux Systems”
Lab tasks
Switch to the sbin directory and report your current working directory.
List the contents of etc directory directly from your current directory assuming that you
are
From the /bin directory, write the name of any entry and press enter. Report the output of
the action
taken.
Save your lab activity after executing each command along with the output in a text file.
1. Introduction
What is Unix/Linux?
o / (Root directory)
7. Conclusion
1. Switch to the /sbin directory and report your current working directory.
Bash
cd /sbin
pwd
2. List the contents of /etc directory directly from your current directory (assuming you are
not at /).
Bash
ls ../etc
Bash
cd /var
ls ../etc
Bash
ls /bin
ls /sbin
Identify some common commands in each directory (e.g., ls, cp, mv in /bin; ifconfig,
fdisk, reboot in /sbin).
5. From the /bin directory, write the name of any entry and press enter. Report the output of
the action taken.
Bash
cd /bin
Bash
ls /dev
Bash
ls /
Bash
ls -l /
9. Save your lab activity after executing each command along with the output in a text file.
Use a text editor (e.g., nano, vim, gedit) to create a file named
23PWBCS1040_YourName.txt.
Copy and paste the commands and their output into the text file after each step.
Command: cd /sbin
Command: pwd
Output: /sbin
Important Notes:
Take screenshots of your terminal output and include them in your MS Word
document.
Provide explanations for each command and its output in the text file and your MS
Word document.
When executing commands that may alter the system, make sure you have the
correct permissions.
This detailed outline and command list should help you create a comprehensive and
informative MS Word document. Remember to add your own explanations and insights to
make it a complete lab report.