Difference between revisions of "Touch (command)"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  touch: cannot touch '/etc/resolv.conf': No such file or directory
 
  touch: cannot touch '/etc/resolv.conf': No such file or directory
 
</pre>
 
</pre>
 +
 +
== Related commands ==
 +
* <code>[[truncate]]</code>
 +
  
 
== See also ==
 
== See also ==

Revision as of 06:07, 3 February 2020

touch[1] is a command used to update the access date and/or modification date of a computer file or directory or to create it.

 touch /etc/resolv.conf
 touch: cannot touch '/etc/resolv.conf': No such file or directory

Related commands


See also

  • https://en.wikipedia.org/wiki/Touch_(command)
  • Advertising: