top of page

Read my technology blog @

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

Updated: Jul 31, 2022

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.

bottom of page