Difference between revisions of "Touch (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 9: Line 9:
 
* <code>[[truncate]]</code>
 
* <code>[[truncate]]</code>
 
* <code>[[fallocate]]</code>
 
* <code>[[fallocate]]</code>
* <code>type nul > your_file.txt</code> ([[Windows]])
+
* <code>type nul > [[autorized_keys]]</code> ([[Windows]])
  
 
== See also ==
 
== See also ==

Revision as of 13:55, 15 April 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: