Home > OS >  Touch command can't find in the centos7.3? What should I do
Touch command can't find in the centos7.3? What should I do

Time:09-20

Failed to use touch new file and submit them to:
- bash: touch: command not found

Thank you bosses

CodePudding user response:

find file command:
 find/bin//usr/bin//usr/sbin//usr/local/bin//usr/local/bin/- maxdepth 1 - name touch | grep touch | | echo - e "\ [47, 033 30 m can not find a file \ [0 033 m" 

CodePudding user response:

reference 1/f, my great god reply: 666
find file command:
 find/bin//usr/bin//usr/sbin//usr/local/bin//usr/local/bin/- maxdepth 1 - name touch | grep touch | | echo - e "\ [47, 033 30 m can not find a file \ [0 033 m" 


According to can not find a file

CodePudding user response:

Your system has a problem,

CodePudding user response:

May be your system problems, can sudo yum install ocaml - fileutils reinstall this command

CodePudding user response:

coreutils package includes a set of basic shell tools, including touch
The following command is cover installation coreutils package

 sudo yum reinstall coreutils 

CodePudding user response:

By installing the coreutils good
 sudo yum install coreutils 

Thank you,

CodePudding user response:

Touch the command like Linux
  • Related