4.3BSD-UWisc/man/man1/touch.1

Compare this file to the similar file:
Show the results in this format:

.\"	@(#)touch.1	6.1 (Berkeley) 4/29/85
.\"
.TH TOUCH 1 "April 29, 1985"
.AT 3
.SH NAME
touch \- update date last modified of a file
.SH SYNOPSIS
.B touch
[
.B \-c
]
[
.B \-f
]
file ...
.SH DESCRIPTION
.I Touch
attempts to set the modified date of each
.IR file .
If a
.I file
exists,
this is done by reading a character from the file
and writing it back.
If a
.I file
does not exist,
an attempt will be made to create it unless the
.B \-c
option is specified.
The
.B \-f
option will attempt to force the touch
in spite of read and write permissions on a
.IR file .
.SH SEE\ ALSO
utimes(2)