touch-updates access time andor modification time of a file

 <  Day Day Up  >  

touch ”updates access time and/or modification time of a file

 touch [ amc ] [ mmddhhmm [ yy ] ] filename... 

touch causes the access and modification times of each argument to be updated. The filename is created if it does not exist. If no time is specified the current time is used.

Example A.61.
 touch a b c 

EXPLANATION

Three files, a , b , and c are created. If any of them already exist, the modification time-stamp on the files is updated.

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net