Multiple choice technology operating systems

How to create a new file without opening it

  1. vi filename

  2. touch filename

  3. cat filename

  4. more filename

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

The touch command creates an empty file without opening it for editing. The vi command opens the file in the editor, while cat and more are used to read existing files, not create new ones.