Which of these is the correct method for appending “foo” in /tmp/bar file?
A. echo foo > /tmp/bar
B. echo foo >> /tmp/bar
C. echo foo | /tmp/var
D. /tmp/bar < echo foo
Answer:A
Which of these is the correct method for appending “foo” in /tmp/bar file?
A. echo foo > /tmp/bar B. echo foo >> /tmp/bar C. echo foo | /tmp/var D. /tmp/bar < echo foo