Which command is used to create empty files?

Thê Hy

New member
Which command is used to create empty files?
A. cp
B. cat
C. touch
D. create
 
Answer: d
Explanation: Touch command changes timestamps. It is also an easy way to create empty files.
The only argument required to be specified with touch command is the filename of the file to be created.
Code:
$ touch file01
 

Tìm kiếm

Back
Top