touch (command)
Jump to navigation
Jump to search
↑ https://en.wikipedia.org/wiki/Touch_(command)
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.conftouch: cannot touch '/etc/resolv.conf': No such file or directory
touch file.txt touch: cannot touch 'file.txt': Read-only file system
touch .pg_service.conf
missing file operand[edit]
touch touch: missing file operand Try 'touch --help' for more information.
Related commands[edit]
truncatefallocatetype nul > authorized_key(Windows)rmmkdir -pormkdir --parentsinstall -D /dev/null /path/to/createfile.txt- New-Item example.txt
See also[edit]
- file, File system, directory,
touch,mkdir,ls,lntruncate,fallocate,split,stat, inode, File descriptor, superblock, block size (blockdev),fuser,lsof,scrub,chattr, ulimit (nofiles),cp,mv,file (command),mkfifo,chmod
Advertising: