xref: /original-bsd/usr.bin/touch/touch.1 (revision ba762ddc)
1.\" Copyright (c) 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)touch.1	6.3 (Berkeley) 04/23/91
7.\"
8.Dd
9.Dt TOUCH 1
10.Os
11.Sh NAME
12.Nm touch
13.Nd update date last modified of a file
14.Sh SYNOPSIS
15.Nm touch
16.Op Fl c
17.Op Fl f
18.Ar file ...
19.Sh DESCRIPTION
20The
21.Nm touch
22utility
23changes the modification and or access times
24of the given
25.Ar file .
26.Pp
27Available options:
28.Bl -tag -width Ds
29.It Fl c
30Do not create a specified file if it does not exist.
31Do not write any diagnostic messages concerning this
32condition.
33.It Fl f
34Attempt to force the
35.Nm touch
36in spite of read and write permissions on a
37.Ar file .
38.Sh SEE ALSO
39.Xr utimes 2
40.Sh HISTORY
41A
42.Nm
43command appeared in
44.At v7 .
45This command is
46.Ud .
47