We don't use the `touch` command to create empty files in Linux

Updated: Jul 31

There is a misconception in the market that in Linux if you want to create an empty file you can use the `touch` command. Well, we can indeed make but that's not the real use of the `touch` command in Linux. Let's see what it is:

In Linux, if we need to update a file's timestamp to the current, here `touch` comes into play.

In Operating System File Management, mostly there are two things in terms of file/folder time: Access & Modification

Access is when the file is first accessed on the current device.

Modification is when the file was last modified.

Related Posts

See All

The topic "DSA" is not a Rocket-Science but can do revolutionary things when implemented properly ‎️‍🔥‎️‍🔥‎️‍🔥 To learn DSA you need to first understand the following things 👇 - Understand how pro


Thanks for submitting!