Posted on

Linux LX0-103 Exam 1 samples – Question 45

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

Correct Answer: A
Section: GNU and Unix Commands

Leave a Reply

Your email address will not be published. Required fields are marked *