Question: 1. Use a command to show your current working directory. 2. Display the help (manual) page/s of any Linux command of your choice. 3. List
1. Use a command to show your current working directory. 2. Display the help (manual) page/s of any Linux command of your choice. 3. List the contents of your home directory. [Hint: there are some hidden files in your home directory, you need to display those. 4. Show the Linux version running on the lab server including its major and minor numbers. 5. Which shell program your account is configured to use? 6. When you type ls -t /etc at the command prompt, explain which part is the command, the argument and the option. 7. Issue a command to display this sentence I paid a lot of $$$ to attend this course 8. Issue a command to list the currently logged in users including the tasks they are currently running. 9. Issue a command of your choice in which you utilize the command substitution metacharacter ` of your shell. 10. Create a directory into your home directory called assignment-1, then display a long listing of your home directorys contents. Explain the meaning of the 8 fields shown in the long listing for any of the listed files or directories 11. Use the vi editor to create a file named after your first name inside your home directory. Include at least 3 lines of text that are a mix of characters and numbers. Use a command to show the contents of that file. 12. Move the file you created to the assignment-1 directory. Then long list the current contents of the assignment-1 directory 13. List all the files that have a name starting with the letter s in the directory /var/log. 14. Find a file in the /etc directory that contains the word linux as part of its contents (not its name). 15. Use a command to find the location of a file named messages under /var. 16. Where is the executable file for the mkdir command? 17. Link the file you created symbolically to a file named myFirstFile-Link in your home directory, then show a long listing for your home directorys contents. 18. Copy the file you created in Q11 to a file named myFirstFile-Copy in your home directory. Then show the contents of your home directory. 19. Find the locations where the Linux system searches for executable commands. 20. Change the Mode of the file (not the copy, not the link) you created in Q11 to allow anyone to read its contents.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
