LPI
101-400 · Question #18
101-400 Question #18: Real Exam Question with Answer & Explanation
The correct answer is A. file /tmp/myfile.txt. See the full explanation below for the reasoning.
Question
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?
Options
- Afile /tmp/myfile.txt
- Becho "Hello" >/tmp/myfile.txt
- Csed -ie "s/1/2/" /tmp/myfile.txt
- Decho -n "Hello" >>/tmp/myfile.txt
- Etouch /tmp/myfile.txt
Community Discussion
No community discussion yet for this question.