Exam4Training

Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?

Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?
A . file /tmp/myfile.txt
B . echo "Hello" >/tmp/myfile.txt
C . sed -ie "s/1/2/" /tmp/myfile.txt
D . echo -n "Hello" >>/tmp/myfile.txt
E . touch /tmp/myfile.txt

Answer: A

Exit mobile version