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

Posted by: Pdfprep Category: LFCS Tags: , ,

Which of the following command sequences overwrites the file foobar.txt?
A . echo "QUIDQUIDAGIS" >> foobar.txt
B . echo "QUIDQUIDAGIS" < foobar.txt
C . echo "QUIDQUIDAGIS" > foobar.txt
D . echo "QUIDQUIDAGIS" | foobar.txt

Answer: C

Leave a Reply

Your email address will not be published.