touch(1)touch(1)Nametouch - update access and modification times of a file
Syntaxtouch [ -amcf ] [ mmddhhmm[yy] ] files
Description
The command causes the access and modification times of each argument
to be updated. The file name is created if it does not already exist.
If no time is specified, the current time is used. For a more detailed
explanation of how to specify the date and time, see
The return code from is the number of files for which the times could
not be successfully modified, including files that did not exist and
were not created. This utility runs under the SYSTEM_FIVE environment.
Options-a Causes to update the access time.
-c Prevents from creating the file if it did not previously exist.
-f Attempts to force the touch in spite of read and write restricā
tions on a file.
-m Causes to update the modification time.
Note that the default setting for the command is -am.
See Alsodate(1), utime(2)touch(1)