The Linux touch command is actually designed just to give files and directories a new timestamp. However, since the command creates new files if they don’t exist, it’s often also used to simply create empty files. In this guide we will explain how to use the command to change timestamps and create empty files. Let’s begin.
↧