Difference between revisions of "Touch (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 9: Line 9:
  
 
  [[touch]] ~/[[.ssh]]/[[authorized_keys]]
 
  [[touch]] ~/[[.ssh]]/[[authorized_keys]]
 +
 +
touch [[.pg_service.conf]]
  
 
   touch
 
   touch

Revision as of 08:12, 9 September 2021

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 file.txt
touch: cannot touch 'file.txt': Read-only file system
touch ~/.ssh/authorized_keys
touch .pg_service.conf
 touch
touch: missing file operand
Try 'touch --help' for more information.


Related commands

See also

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