Editing Touch (command)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
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: cannot touch '/etc/resolv.conf': No such file or directory | ||
+ | </pre> | ||
− | + | [[touch]] ~/.ssh/authorized_keys | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 29: | Line 13: | ||
* <code>[[fallocate]]</code> | * <code>[[fallocate]]</code> | ||
* <code>[[type]] nul > [[authorized_key]]</code> ([[Windows]]) | * <code>[[type]] nul > [[authorized_key]]</code> ([[Windows]]) | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == |
Advertising: