02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

where cc is the optional first 2 digits of the year, yy is the optional last 2 digits of the year, MM is<br />

the optional number of the month (01-12), dd is the optional day of the month, hh is the hour in 24<br />

hour format (required), mm is the minutes (required), ss is the optional seconds.<br />

An obsolete (but still supported) version of this <strong>com</strong>mand lets you omit the -t, but the format is:<br />

MMddhhmmyy[yy]<br />

EXAMPLES<br />

touch newfile<br />

sets the modification time of newfile to the present.<br />

touch -t 8001031305 oldfile<br />

sets the modification time of oldfile to 13:05 on January 3, 1980.<br />

touch -r oldfile newfile<br />

sets the modification time of newfile to that of oldfile.<br />

ENVIRONMENT VARIABLES<br />

TZ<br />

contains the time zone that touch is to use when interpreting times.<br />

DIAGNOSTICS<br />

Possible exit status values are:<br />

0<br />

1<br />

Successful <strong>com</strong>pletion.<br />

Failure due to any of the following:<br />

— inability to access the desired file<br />

— system cannot support such an early date<br />

452 of 457

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!