Novell
050-720 · Question #369
You have a /tmp/data directory containing the files .file, file1, and file2. You want to copy the file1 and file2 files only to the /data-old directory that already exists. In a terminal window…
The correct answer is C. cp /tmp/data/* /data-old. See the full explanation below for the reasoning.
Question
You have a /tmp/data directory containing the files .file, file1, and file2. You want to copy the file1 and file2 files only to the /data-old directory that already exists. In a terminal window, which command acomplishes this?
Options
- Acp /tmp/data /data-old
- Bcp /tmp/data/. /data-old
- Ccp /tmp/data/* /data-old
- Dcp /tmp/data/? /data-old
How the community answered
(21 responses)- A5% (1)
- B5% (1)
- C76% (16)
- D14% (3)
Community Discussion
No community discussion yet for this question.