Quick Answer: What Does Touch Command Do in Linux?
Contents

The Linux touch command is mainly used to create empty files, and change timestamps of files or folders. The timestamp information of files consists of three attributes – access time, modification time, and change time.

What is the touch command used for in Linux?

The touch command allows us to update the timestamps on existing files and directories as well as creating new, empty files. In this guide, we will show you how to use the touch command through practical examples and detailed explanations of the most common command options.

What does the touch command do to a file?

The touch command is a standard command used in UNIX/Linux operating system which is used to create, change and modify timestamps of a file.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest