QuestionQ21
Automation, Orchestration, and ScriptingAn administrator must append the output from a Linux command to an existing file for later analysis. Which of the following command-line strings should the administrator use?
- A cat ls > file.txt
- B tcc ls > awk file.txt
- C echo ls | sed -i file.txt
- D ls >> file.txt
Community Discussion