|
|
1.1 root 1: .\" @(#)touch.1 6.1 (Berkeley) 4/29/85
2: .\"
3: .TH TOUCH 1 "April 29, 1985"
4: .AT 3
5: .SH NAME
6: touch \- update date last modified of a file
7: .SH SYNOPSIS
8: .B touch
9: [
10: .B \-c
11: ]
12: [
13: .B \-f
14: ]
15: file ...
16: .SH DESCRIPTION
17: .I Touch
18: attempts to set the modified date of each
19: .IR file .
20: If a
21: .I file
22: exists,
23: this is done by reading a character from the file
24: and writing it back.
25: If a
26: .I file
27: does not exist,
28: an attempt will be made to create it unless the
29: .B \-c
30: option is specified.
31: The
32: .B \-f
33: option will attempt to force the touch
34: in spite of read and write permissions on a
35: .IR file .
36: .SH SEE\ ALSO
37: utimes(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.