Touch (command)

From wikieduonline
Jump to navigation Jump to search

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
touch ~/.ssh/authorized_keys


Related commands

See also

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