Difference between revisions of "32v 1m touch"
From Computer History Wiki
(New page: TOUCH(1) UNIX Programmer's Manual TOUCH(1) == NAME == touch - update date last modified of a file == SYNOPSIS == touch [ -c ] file ... == DESCRIPTION ...) |
|||
Line 4: | Line 4: | ||
== NAME == | == NAME == | ||
− | + | touch - update date last modified of a file | |
== SYNOPSIS == | == SYNOPSIS == | ||
− | + | touch [ -c ] file ... | |
== DESCRIPTION == | == DESCRIPTION == | ||
− | + | '''Touch''' attempts to set the modified date of each '''file'''. This is done by reading a character from the file and writing it back. | |
− | |||
− | |||
− | + | If a '''file''' does not exist, an attempt will be made to create it unless the -c option is specified. | |
− | |||
[[Category:32v man section 1]] | [[Category:32v man section 1]] |
Latest revision as of 20:56, 26 October 2009
TOUCH(1) UNIX Programmer's Manual TOUCH(1)
NAME
touch - update date last modified of a file
SYNOPSIS
touch [ -c ] file ...
DESCRIPTION
Touch attempts to set the modified date of each file. This is done by reading a character from the file and writing it back.
If a file does not exist, an attempt will be made to create it unless the -c option is specified.