Forrest logo
back to context overview

touch

List of commands for touch:

  • touch:ai:5e8d9 This CLI command creates a new empty python script with the name 'script.py'
    $ touch script.py
    try on your machine
    explain this command
  • touch:ai:ce56f Creates a new empty file with the specified filename
    $ touch filename
    try on your machine
    explain this command
  • touch:tldr:53417 touch: Set the file time of a specific file to the time of anothe[r] file and don't [c]reate file if it doesn't exist.
    $ touch -c -r ${~--emacs} ${filename1 filename2 ---}
    try on your machine
    explain this command
  • touch:tldr:9c1ce touch: Set the file [a]ccess or [m]odification times to the current one and don't [c]reate file if it doesn't exist.
    $ touch -c -${select} ${filename1 filename2 ---}
    try on your machine
    explain this command
  • touch:tldr:ad572 touch: Set the file [t]ime to a specific value and don't [c]reate file if it doesn't exist.
    $ touch -c -t ${YYYYMMDDHHMM-SS} ${filename1 filename2 ---}
    try on your machine
    explain this command
back to context overview