Unix

Q1: Which command is used to copy all files having the string chap and any two characters after that to the progs directory?

A cp chap?? progs

B cp chap* progs

C cp chap[12] /progs/*.*

D cp chap?? /progs/*

E None of the above

ANS:A - cp chap?? progs

@Mahesh.

Check chap length it should be 6. Then chap? will work.

You used chap* for this length not matters.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.