Solved

Which of the Following Commands Redirects the Output of Cmd

Question 209

Multiple Choice

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


A) cmd || foo.txt
B) cmd | foo.txt
C) cmd && foo.txt
D) cmd >> foo.txt
E) cmd > foo.txt

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions