How Do I Touch a File in Unix?
Contents

How do you touch files in UNIX?

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. Basically, there are two different commands to create a file in the Linux system which is as follows: cat command: It is used to create the file with content.

What does the touch command do to a file in Unix?

The touch command is a standard program for Unix/Linux operating systems, that is used to create, change and modify timestamps of a file.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest