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 2 Question 43 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 43
Topic #: 2
[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
Oliva
4 months ago
I don't know, this seems too easy.
upvoted 0 times
...
Tabetha
5 months ago
Wait, are you sure E is the only one that overwrites?
upvoted 0 times
...
Luz
5 months ago
I thought it was D at first, but nope!
upvoted 0 times
...
Colene
5 months ago
Yeah, E is the right one!
upvoted 0 times
...
Arlean
5 months ago
It's definitely E that overwrites the file.
upvoted 0 times
...
Gayla
5 months ago
I feel like I saw a question like this before, and I think it was about using '>' to overwrite, so maybe E is right.
upvoted 0 times
...
Tarra
5 months ago
I keep mixing up the symbols; I thought '>>' was for appending, but I can't recall what '>' does exactly.
upvoted 0 times
...
Justine
5 months ago
I think the command to overwrite a file is the one with a single greater-than sign, but I'm not completely sure.
upvoted 0 times
...
Lashawnda
6 months ago
I remember practicing with similar questions, and I think option E is the correct one for redirecting output to a file.
upvoted 0 times
...
Crissy
6 months ago
Hmm, I'm a bit unsure about this one. I need to make sure I understand the difference between a virtual server and a ready-made environment.
upvoted 0 times
...
Gennie
6 months ago
Okay, let me see if I can break this down step-by-step to find the right answer.
upvoted 0 times
...

Save Cancel