Question: At the command prompt, type mv sample 1 * mysamples and press Enter. Type y and press Enter to confirm you want to overwrite the
At the command prompt, type mv sample mysamples and press Enter. Type y and press Enter to confirm you want to overwrite the file sampleB in the destination directory.
At the command prompt, type ls F sample and press Enter. Notice that there are no sample files in the root directory.
At the command prompt, type cd mysamples and press Enter. Next, type ls F at the command prompt and press Enter. Notice that all files originally in root have been moved to this directory.
At the command prompt, type cd and press Enter. Next, type ls F at the command prompt and press Enter. Type mv mysamples samples and press Enter. Next, type ls F at the command prompt and press Enter. Why did you not need to specify the recursive option to the mv command to rename the mysamples directory to samples?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
