A systems administrator needs to append output of ls -lha /opt command to the contents of a test. txt file. Which of the following commands will accomplish this...


CompTIA XK0-004 Exam

Questions Number: 11 out of 180 Questions
6.11%

Question 11
A systems administrator needs to append output of ls -lha /opt command to the contents of a test.
txt file. Which of the following commands will accomplish this?
A. ls -lha /opt > test.txt
B. ls -lha /opt < test.txt
C. ls -lha /opt >> test.txt
D. ls -lha /opt << test.txt




Previous Questions Next Questions