Difference between revisions of "32v 1m touch"

From Computer History Wiki
Jump to: navigation, search
(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
+
touch - update date last modified of a file
  
 
== SYNOPSIS ==
 
== SYNOPSIS ==
    touch [ -c ] file ...
+
touch [ -c ] file ...
  
 
== DESCRIPTION ==
 
== DESCRIPTION ==
    _T_o_u_c_h attempts to set the modified date of each _f_i_l_e. This
+
'''Touch''' attempts to set the modified date of each '''file'''. This is done by reading a character from the file and writing it back.
    is done by reading a character from the file and writing it
 
    back.
 
  
    If a _f_i_l_e does not exist, an attempt will be made to create
+
If a '''file''' does not exist, an attempt will be made to create it unless the -c option is specified.
    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.