File management · Question 5 of 12
What does touch report.txt do if the file already exists?
1 answer is correct. Easy Created with AI
Show answer
Answer
- A It sets the file's timestamps to the current time
Explanation
touch updates the access and modification times; the contents stay unchanged. If the file does not exist, touch creates it empty.