Vidyalelo
Computer Science · Q641

Linux

Engineering and GATE · Computer Science · question 641

Q641

Which of these is the correct method for appending "foo" in /tmp/bar file?

A.
echo foo > /tmp/bar
B.
echo foo >> /tmp/bar
Answer
C.
echo foo | /tmp/var
D.
/tmp/bar < echo foo

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board