Difference between revisions of "Touch (command)"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
<code>touch</code><ref>https://en.wikipedia.org/wiki/Touch_(command)</ref> is a command used to update the access date and/or modification date of a computer file or directory or to create it.
 
<code>touch</code><ref>https://en.wikipedia.org/wiki/Touch_(command)</ref> is a command used to update the access date and/or modification date of a computer file or directory or to create it.
  
<pre>
+
 
touch /etc/resolv.conf
+
touch /etc/[[resolv.conf]]
touch: cannot touch '/etc/resolv.conf': No such file or directory
+
touch: cannot touch '/etc/resolv.conf': No such file or directory
</pre>
 
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Revision as of 08:08, 24 December 2019

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

Advertising: