Files
oldlinux-files/Minix/2.0.0/wwwman/man1/touch.1.html
2024-02-19 00:21:39 -05:00

74 lines
1.0 KiB
HTML

<HTML>
<HEAD>
<TITLE>touch(1)</TITLE>
</HEAD>
<BODY>
<H1>touch(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
touch - update a file's time of last modification
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>touch</STRONG> [<STRONG>-c</STRONG>] <EM>file</EM> ...
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-c</STRONG> Do not create the file
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>touch</STRONG> <STRONG>*.h</STRONG> # Make the .<EM>h</EM> files look recent
</PRE>
<H2>DESCRIPTION</H2><PRE>
############ NEXT ENTRY HAS NOT BEEN CHECKED #############
The time of last modification is set to the current time. This command
is mostly used to trick <EM>make</EM> into thinking that a file is more recent
than it really is. If the file being touched does not exist, it is
created, unless the <STRONG>-c</STRONG> flag is present.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man2/utime.2.html">utime(2)</A></STRONG>.
</PRE>
</BODY>
</HTML>