Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

What is the best conclusion for Xbar Chart? UCL A X B C B A LCL

Answered: 1 week ago

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago