Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ touch(1) — Duplix 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

utimes(2)

TOUCH(1)  —  Unix Programmer’s Manual

NAME

touch − update date last modified of a file

SYNOPSIS

touch [ options ] files

DESCRIPTION

touch tries to set the modified date (the time when the file was last changed) of each file. If the file exists, touch reads a character from the file and writes it back to change the file’s date.  If the specified file does not exist, touch usually tries to create it. 

OPTIONS

−c Tells touch not to create the file if it does not exist. 

−f Tries to force the touch in spite of read and write permissions on a file.

RETURN VALUES

touch always returns 0. 

SEE ALSO

utimes(2)

INTEGRATED SOLUTIONS 4.3 BSD  —  August 1, 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026