3 examples for touch

{{ score }}
  # Updates the timestamp of the file 'temp' or creates it if it doesn't exist
touch temp
        
{{ score }}
  # Change the unix timestamp of a file to an arbitary date
touch -d '12 Jun 2005 10:05' /path/to/target_file
        
{{ score }}
  # Use the timestamp of a file as a reference to set the 
# timestamps of the specified file.
touch -r ReferenceFile FileToModify

# Example:
ls -l file*
-rwxrwxr-x 1 shahin shahin 109 Oct 11 17:23 file1
-rw-rw-r-- 1 shahin shahin 381 Jun 12  2005 file2
touch -r file1 file2
ls -l file*
-rwxrwxr-x 1 shahin shahin 109 Oct 11 17:23 file1
-rw-rw-r-- 1 shahin shahin 381 Oct 11 17:23 file2

# your_comment_here
your_command_here