LPI
010-160 · Question #39
A directory contains the following three files: texts 1.txt texts 2.txt texts 3.csv Which command copies the two files ending in .txt to the /tmp/ directory?
Sign in or unlock 010-160 to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.
The Power of the Command Line
Question
A directory contains the following three files:
texts 1.txt
texts 2.txt
texts 3.csv
Which command copies the two files ending in .txt to the /tmp/ directory?
Options
- Acp ??.txt /tmp/
- Bcp *.txt /tmp/
- Ccp .\txt /tmp/
- Dcp ?.txt /tmp/
- Ecp $?.txt /tmp/
Unlock 010-160 to see the answer
You've previewed enough free 010-160 questions. Unlock 010-160 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#glob patterns#wildcards#cp command#file selection