Multiple choice technology operating systems

What is the output of the following command in an empty directory touch -c Filethtdoesntexist.txt

  1. No output

  2. Error saying "no such file exists"

  3. File created with the specified name

  4. None of these

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

touch with -c (--no-create) flag does NOT create the file if it doesn't exist. It produces no output and returns success (exit 0). The file is not created.