CompTIA
XK0-004 · Question #3
XK0-004 Question #3: Real Exam Question with Answer & Explanation
The correct answer is C: ls -lha /opt >> test.txt. See the full explanation below for the reasoning.
Question
A systems administrator needs to append output of command to the contents of ls -lha /opt a test.txt file. Which of the following commands will accomplish this?
Options
- Als -lha /opt > test.txt
- Bls -lha /opt < test.txt
- Cls -lha /opt >> test.txt
- Dls -lha /opt << test.txt
Community Discussion
No community discussion yet for this question.