CompTIACompTIA
XK0-005 · Question #3
XK0-005 Question #3: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #3. The question stem and answer options stay visible for context.
Scripting, Containers, and Automation
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
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 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
#Command Line Interface#File Redirection#Shell Operators#Linux Commands