Os Lab 1
Os Lab 1
Lab No: 01
Output:
2. Command: dir
Output:
3. Command: ls -a
Output:
4. Command: ls -l
Output:
5. Command: ls -lh
6. Command: ls -F
Output:
7. Command: ls -r
Output:
8. Command: ls -R
Output:
9. Command: ls -ltr
Output:
10. Command: ls -i
Output:
Output:
13. Command: ls -n
Output:
Output:
15. Command: mkdir os
Output:
16. Command: ls
Output:
17. Command: cd os
Output:
18. Command: ls
Output:
20. Command: ls
Output:
Output:
22. Command: cat linux.txt
Output:
Output:
Interpretation: It allows user to display the text in the file unix.txt and is
excited by CTRL+C.
Output:
Output:
27. Command: ls
Output:
Output:
Output:
30. Command: cd
Output:
Output:
32. Command: ls
Output:
Output:
Output:
Output:
Output
38. Command: cd os
39. Command: ls
Output:
Output:
41. Command: ls
Output:
Output:
43. Command: ls
Output:
Interpretation: It deletes all the files whose name ends with .txt.
Output:
45. Command: ls
Output:
46. Command: cd
Output:
Output:
48. Command: ls
Output:
Output:
50. Command: ls
Output:
Output:
52. Command: ls
Output:
Conclusion:
In conclusion, this lab exercise provides a comprehensive introduction
to fundamental Linux commands, equipping users with the skills
necessary to perform basic file and directory management tasks.
Through practical examples, users gain hands-on experience in
navigating the Linux file system, manipulating files and directories, and
using command options effectively. Mastery of these commands forms
the backbone of Linux system administration, enabling users to
efficiently interact with the operating system. This foundational
knowledge is crucial for advancing to more complex tasks and
optimizing workflow in a Linux environment. Ultimately, this exercise
serves as a stepping stone toward proficient Linux command-line usage .