Notifications
Clear all
Topic starter
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
Suggested Answer: C
Explanation:
Reference: https://www.cyberciti.biz/faq/linux-append-text-to-end-of-file/
Explanation:
Reference: https://www.cyberciti.biz/faq/linux-append-text-to-end-of-file/
Posted : 05/02/2023 9:02 pm