LPI
117-010 · Question #23
117-010 Question #23: Real Exam Question with Answer & Explanation
The correct answer is C. echo "QUIDQUIDAGIS" > foobar.txt. See the full explanation below for the reasoning.
Question
Which of the following command sequences overwrites the file foobar.txt?
Options
- Aecho "QUIDQUIDAGIS" >> foobar.txt
- Becho "QUIDQUIDAGIS" < foobar.txt
- Cecho "QUIDQUIDAGIS" > foobar.txt
- Decho "QUIDQUIDAGIS" | foobar.txt
Community Discussion
No community discussion yet for this question.