Question: This is questions regarding LINUX. Please help! (10 points) What command would you give to print a man page? (10 points) What command(s) would you

This is questions regarding LINUX. Please help!

  1. (10 points) What command would you give to print a man page?
  2. (10 points) What command(s) would you use to copy the file /home/bishop/hw1-programs/vis-output to your home directory and make it read-only by everyone (owner, group, world).
  3. (10 points) What command would you use to create a subdirectory called test in your home directory. With what access permissions is it created?
  4. (10 points) Write a command to print only the last line of the file /etc/passwd.
  5. (10 points) Show the command to make a copy of the directory /usr/bishop/hw1-programs, and everything it contains, in your home directory, with one command. Hint: Look at the -r option to the copy command cp(1).
  6. (10 points) When I write data into the file /dev/null, what happens to it?
  7. (10 points) The program ls(1) lists the contents of a directory. But it does not list any files whose names begin with . (period). What option would I give to ls to include those files in the output?
  8. (10 points) Every directory contains a subdirectory named ... What is that subdirectory? And what is the .. in the root directory /?
  9. (10 points) The file /usr/share/dict/words contains a list of English words. Write a command that will put all words in that file that contain the character sequence gry in the file GRY.
  10. (10 points) How would I list all files that begin with a and end with .txt?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!