Question: At the command prompt, type cp / root / sample 2 . and press Enter. Next, type ls - F at the command prompt and

At the command prompt, type cp /root/sample2. and press Enter. Next, type ls -F at the command prompt and press Enter. How many files are there and what are their names?
8
At the command prompt, type cp sample1B .. and press Enter. Next, type cd .. at the command prompt and press Enter. At the command prompt, type ls -F sample* and press Enter. Was the sample1B file copied successfully?
9
At the command prompt, type cp sample1 sample2 sample3 mysamples and press Enter. What message do you get and why? Choose y and press Enter. Next, type cd mysamples at the command prompt and press Enter. At the command prompt, type ls -F and press Enter. How many files are there and what are their names?
10
At the command prompt, type cd .. and press Enter. Next, type cp mysamples mysamples2 at the command prompt and press Enter. What error message did you receive? Why?
11
At the command prompt, type cp R mysamples mysamples2 and press Enter. Next, type ls F at the command prompt, and press Enter. Was the directory copied successfully? Type ls F mysamples2 at the command prompt and press Enter. Were the contents of mysamples successfully copied to mysamples2?
12
Type exit and press Enter to log out of your shell.

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!