OS-Introduction-to-Linux-Lab Questions
OS-Introduction-to-Linux-Lab Questions
1. Practice all the below mentioned commands with all possible options:
NOTE: Make a directory foo with two empty files first.txt and second.txt
Make another directory bar now move all files from foo to bar.
5. Execute the two commands echo * and ls. What do you think echo did?
6. Practice the below mentioned commands with all possible options:
7. Set the permissions of first.txt file to have all permissions for yourself?
8. Find out the location of the command 'service' using the suitable Linux command?
9. Create 3 files (file1 , file2, file3) & assign permissions:
10. Create a symbolic link in your current directory called ‘symlink’ to file1 created in /tmp folder
11. See the difference between cd ~ and cd - and cd.?
12. Use the cd command to go to the “root” of the file system?
13. Explore the command chown using man pages.
14. Find out how you can see what a system is running and what resources the system is using
commands ps and top?
15. How do you scroll through the past commands executed?
16. Observe how the command completion happens on tab
17. Run a Linux command to display the list of users who are currently using the Linux machine.
18. What is the Linux command to display calendar for the October month 2020. Explore different
options
19. Delete an empty directory and verify your results by using the ls command. Try deleting a
directory which is not empty and record the error message.
20. Which command is used to display the operating system name?