Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/man/1/touch

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH TOUCH 1
.SH NAME
touch \- set modification date of a file
.SH SYNOPSIS
.B touch
[
.B -c
]
[
.B -t
.I time
]
.I file ...
.SH DESCRIPTION
.I Touch
attempts to set the modification time of the
.I files
to 
.I time
(by default, the current time).
If a
.I file
does not exist,
it will be created unless option
.B -c
is present.
.SH SOURCE
.B /sys/src/cmd/touch.c
.SH SEE ALSO
.IR ls (1),
.IR stat (2),
.IR chmod (1)
.SH BUGS
.I Touch
will not touch directories.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].