Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Oohh. It was not intuitive to me that the verb 'touch' would be a good match for the role of the command touch but I get it now. Thanks Commented Mar 31, 2017 at 22:24
  • 1
    Short explanation, to the point and explaining exactly what it does. However it is generally used to create a file. Commented Mar 31, 2017 at 23:30
  • It's certainly frequently used for that, but its own self-description on its own man page is: "touch -- change file access and modification times". Commented Apr 3, 2017 at 14:44
  • 3
    I suppose one could ask "when was the file last touched?" to mean when it was last changed (e.g. by writing to it), or "the file hasn't been touched in years". The touch command simulates the effect, hence the name. Commented Feb 18, 2018 at 8:06