touch - update timestamps


Usage

touch [OPTION]... FILE...

Update the access and modification times of each FILE to the current time.

linux3[93]% ls -l
total 0
-rw-------    1 dhood2   general         0 Sep 30 11:15 sample.txt
linux3[94]% touch foobar
linux3[95]% ls -l
total 0
-rw-------    1 dhood2   general         0 Sep 30 11:38 foobar
-rw-------    1 dhood2   general         0 Sep 30 11:15 sample.txt
linux3[96]% touch sample.txt
linux3[97]% ls -l
total 0
-rw-------    1 dhood2   general         0 Sep 30 11:38 foobar
-rw-------    1 dhood2   general         0 Sep 30 11:39 sample.txt
linux3[98]%

Daniel J. Hood
Last modified: Thu Sep 30 11:39:09 EDT 2004