Revision [612]
This is an old revision of CommandTouch made by DavidLee on 2009-05-31 16:06:51.
Command rm
This command is part of the posix extensions and needs to be imported to be available to the shell.
See Posix Commands
Name
touch Creates file or updates timestamp (last mod date) of file.Synopsis
touch [options] fileOptions
-r
-reference reference_file
Description
If file does not exist, creates a new empty file. Otherwise updates the last modification time of the specified file.
If "-r reference_file" is given, then instead of setting the last mod date to the current time, sets it to the same last mod date of the reference file.
Return Value
Returns 0 if the command executed successfully, 1 if there was an error.CategoryCommands
CommandsPosix