Multiple choice technology operating systems

which command is used to create a zero byte file ?

  1. touch

  2. cat

  3. man

  4. vi

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

The touch command creates an empty file if it doesn't exist, or updates timestamps if it does. cat displays file contents, man shows documentation, and vi is a text editor - none create empty files by default.