Question: Using Linux and the Picture below. 11. ENTER ON BLACKBOARD Will the following command execute successfully or will it produce an error message? Assume that

Using Linux and the Picture below.

Using Linux and the Picture below. 11. ENTER ON BLACKBOARD Will the

11. ENTER ON BLACKBOARD Will the following command execute successfully or will it produce an error message? Assume that the current working directory is ~jlucas

rmdir /usr

12.ENTER ON BLACKBOARD Will the following command execute successfully or will it produce an error message? Assume that the current working directory is ~jlucas

rmdir ../smitra 

13.ENTER ON BLACKBOARD Will the following command execute successfully or will it produce an error message? Assume that the current working directory is ~jlucas

mkdir ../../visitor 

14.ENTER ON BLACKBOARD Will the following command execute successfully or will it produce an error message? Assume that the current working directory is ~jlucas

mkdir ~bob/csc209 

15.ENTER ON BLACKBOARD The UNIX command cat will display the contents of a file. What is a command to display the contents of the passwd file in the etc directory using an absolute pathname?

Pretend now that you are the user named bob. You should be in the home directory of bob. Note that the root directory we are using here is not the true root of the filesystem.

16.ENTER ON BLACKBOARD What is the cd command that will change the current directory (which is bob) to the alice directory using a relative pathname (use the simplest possible relative pathname). Be sure to return to the bob directory.

17.ENTER ON BLACKBOARD What is the cd command that will change the current directory (which is bob) to the etc directory using a relative pathname (use the simplest possible relative pathname). Be sure to return to the bob directory.

18.ENTER ON BLACKBOARD What is the cd command that will change the current directory (which is bob) to the lab02 directory underneath the home directory of user bob using a relative pathname (use the simplest possible relative pathname). Be sure to return to the bob directory.

19.ENTER ON BLACKBOARD What is the cd command that will change the current directory (which is bob) to the lab02 directory underneath the home directory of user jlucas using a relative pathname (use the simplest possible relative pathname). Be sure to return to the bob directory.

20.ENTER ON BLACKBOARD You are located now in the bob directory. If you execute the command: cp csc209/lab01/hello.c ../../../ where will the new copy of that file be located?

var bin home etc usr faculty student passwd trao jlucas smitra alice bob CSC422 bin CSC205 CSC209 bear.jpg CSC209 hello lab01 lab02 lab01 lab02 hello.py hello.c hello.py hello.c

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!