InterviewSolution
Saved Bookmarks
| 1. |
What is the correct syntax for copying multiple files with a filename starting as ‘file’ into another file named as‘directory_one’?(a) cp -i filedirectory_one(b) cp -R filedirectory/directory_one(c) cp file*directory_one(d) none of the mentionedI have been asked this question in an internship interview.Origin of the question is Copying a File: cp Command topic in chapter Handling Ordinary Files of Unix |
|
Answer» The correct ANSWER is (c) cp FILE*directory_one |
|