Which of the follow...
 
Notifications
Clear all

Which of the following commands will accomplish this?

1 Posts
1 Users
0 Likes
88 Views
(@sextoncletus)
Posts: 695
Noble Member
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

Show Answer Hide Answer

Suggested Answer: C

Explanation:

Reference: https://www.cyberciti.biz/faq/linux-append-text-to-end-of-file/
 
Posted : 05/02/2023 9:02 pm
Topic Tags

Latest CompTIA XK0-004 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: