touch command...

Pedro Soria-Rodriguez sorrodp at alum.wpi.edu
Fri Feb 25 07:50:42 EST 2000


On Fri, 25 Feb 2000, Kevin M. Gleason wrote:
> What is the purpose of the Unix/Linux touch command except for
> programmer to say, "I really did have it done on such and such a
> date"? (And didn't). Are we talking archival inclusion or something?

	You can 'touch' a file that doesn't exist yet, and that way it
gets created (an empty file).
	You can 'touch' a file such that a build program (like make) will
see it has changed and will rebuild whatever depends on that file.

I'm sure there are more useful uses...

--
Pedro Soria-Rodriguez
sorrodp at alum.wpi.edu

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list