News for hackers. Stuff that matters.
Re:The Art of Command Line (2015) by finnh on Thursday May 23, 2019 @09:44AM (#19991703)
That works to create an empty file if none exists, but if the file already exists then 'touch' simply updates its atime/mtime and doesn't alter the contents. This latter effect is actually the purpose of touch; the file creation part is just a side effect.

There are no comments on this comment yet.