PrepAway - Latest Free Exam Questions & Answers

Which of the following command sequences overwrites the file foobar.txt?

Which of the following command sequences overwrites the file foobar.txt?

PrepAway - Latest Free Exam Questions & Answers

A.
echo “QUIDQUIDAGIS” >> foobar.txt

B.
echo “QUIDQUIDAGIS” < foobar.txt

C.
echo “QUIDQUIDAGIS” > foobar.txt

D.
echo “QUIDQUIDAGIS” | foobar.txt

Explanation:

One Comment on “Which of the following command sequences overwrites the file foobar.txt?


Leave a Reply