Multiple choice technology operating systems

What is the use of touch command?

  1. It makes a new empty file

  2. It displays the contents of a file

  3. It updates the pre existing file

  4. It makes a new directory

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The primary use of the touch command is to create a new empty file if it does not exist, or update the access/modification timestamps of an existing file. It does not display content, make directories, or edit file data.