touch - change file timestamps.
Create an empty file:
touch file1.txt
Create multiple files:
touch file1.txt file2.txt file3.txt
Change file access and modification time (sets the current date and time):
touch -a file1.txt
Avoid creating new file if it does not exists:
touch -c file1.txt
Change file modification time:
touch -m file1.txt
Set access and modification times:
touch -t YYMMDDHHMM file1.txt
Copy the timestamp from another file:
touch -r file1.txt file2.txt