Create an empty file, or update an existing file’s modification time.
touch notes.txtLINUX COMMAND ATLAS · COMMAND GUIDE
Create an empty file, or update an existing file’s modification time.
GNU Coreutilstouch [OPTION]... FILE...
Create an empty file, or update an existing file’s modification time.
touch notes.txtCopy source.txt timestamps to copy.txt.
touch -r source.txt copy.txttouch changes metadata rather than file contents; timestamp updates can affect build tools and backup software.