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

Submitted by: Murtaza
b) echo foo >> /tmp/bar
Submitted by: Murtaza

Read Online Linux OS Shell Job Interview Questions And Answers