home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: timex Chapter 2
UNIX Commands
Next: Reference: tput
 

touch



touch

 [

options

] [

date

] 

files

For one or more files , update the access time and modification time (and dates) to the current time and date, or update to the optional date . date is a date and time in the format mmddhhmm [yy]. touch is useful in forcing other commands to handle files a certain way; e.g., the operation of make , and sometimes find , relies on a file's access and modification time.

Options

-a

Update only the access time.

-c

Do not create nonexistent files.

-m

Update only the modification time.


Previous: Reference: timex UNIX in a Nutshell: System V Edition Next: Reference: tput
Reference: timex Book Index Reference: tput

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System