Question: Copy using the ? wildcard the three files let1.doc, let2.doc, and let3.doc from the letters directory to the work/misc directory. Once copied, rename the new

Copy using the ? wildcard the three files let1.doc, let2.doc, and let3.doc from the letters directory to the work/misc directory. Once copied, rename the new files (the ones in the misc directory) into rpt1.doc, rpt2.doc, and rpt3.doc. When renaming, you have to do this explicitly and not try to use a wildcard. It would appear at first that a wildcard could make the renaming easier, but it turns out to be ridiculously hard to use a wildcard in this case.

I used

[demo@host-1-97 letters]$ mv let1.doc rpt1.doc [demo@host-1-97 letters]$ mv let2.doc rpt2.doc [demo@host-1-97 letters]$ mv let3.doc rpt3.doc

But after that I don't know what to do.

The output I need is

Tests: Complete

letters/let1.doc -> work/misc/rpt1.doc FAILED
letters/let2.doc -> work/misc/rpt2.doc FAILED
letters/let3.doc -> work/misc/rpt3.doc

FAILED

I need them to be passed

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!