32v 1m touch

From Computer History Wiki
Jump to: navigation, search

TOUCH(1) UNIX Programmer's Manual TOUCH(1)


touch - update date last modified of a file


touch [ -c ] file ...


Touch attempts to set the modified date of each file. This is done by reading a character from the file and writing it back.

If a file does not exist, an attempt will be made to create it unless the -c option is specified.