touch
Create an empty file or update file timestamps. If the file exists, updates its modification time.
Primary Syntax
$ touch example.txt
#
Example Usage
touch newfile.txt
touch -d '2024-01-01' file.txt#
Quick Tips
• Use man touch to read the full manual
• Add --help flag for quick options reference
• Combine with | less for paginated output
Submitted by: admin
Added: 2/9/2026