File:  [CSRG BSD Unix] / 43BSDReno / usr.bin / touch / touch.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

.\"	@(#)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)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.