Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation LFCS Exam - Topic 1 Question 113 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 113
Topic #: 1
[All LFCS Questions]

Which of the following commands redirects the output of cmd to the file foo.txt, in which an existing file is overwritten?

Show Suggested Answer Hide Answer
Suggested Answer: E

Contribute your Thoughts:

0/2000 characters
Linwood
15 hours ago
I remember practicing with output redirection, and I feel like "cmd > foo.txt" is the right choice for overwriting.
upvoted 0 times
...
King
6 days ago
I think the command that overwrites the file is the one with a single greater than sign, but I'm not completely sure.
upvoted 0 times
...

Save Cancel