DEV Community

Discussion on: Let's talk about Linux

Collapse
 
adityamitra profile image
Aditya Mitra

This is a question by my professor:

What is actual use of touch command in Linux?

(hint- it is not just for creating files)

Collapse
 
benjaminjprice profile image
Benjamin Price

Update Modified Date

Collapse
 
adityamitra profile image
Aditya Mitra

ANOTHER

Is there a way to remove the program which detects the end of file in Linux?

Collapse
 
moopet profile image
Ben Sinclair

It's not for creating files at all. That's just a side effect. People almost never want to create files manually, and the fact that people teach touch as a "must-know" command to "create files" always makes me sad.