nerdexam
HP

HP0-A01 · Question #48

What does the command touch myfile do if myfile exists?

The correct answer is D. updates the date/time stamp. See the full explanation below for the reasoning.

Question

What does the command touch myfile do if myfile exists?

Options

  • Anothing
  • Bgives an error
  • Csets the file size to zero
  • Dupdates the date/time stamp

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    9% (3)
  • D
    81% (26)

Community Discussion

No community discussion yet for this question.

Full HP0-A01 Practice