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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications