LPIC-1 Exam 101 (Linux Administrator) — Question 28

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

Answer options

Correct answer: A

Explanation

The command 'file /tmp/myfile.txt' is used to determine the type of the file and does not alter its contents or modify timestamp. In contrast, the other options either overwrite the file or append data to it, which will update the modification timestamp accordingly.