Posted by: Pdfprep
Post Date: October 31, 2020
A systems administrator needs to append output of ls Clha /opt command to the contents of a test.txt file.
Which of the following commands will accomplish this?
A . ls Clha /opt > test.txt
B . ls Clha /opt < test.txt
C . ls Clha /opt >> test.txt
D . ls Clha /opt << test.txt
Answer: C
Explanation:
Reference: https://www.cyberciti.biz/faq/linux-append-text-to-end-of-file/
Leave a Reply