Home > OS >  Linux centos7/usr/libexec/grepconf. Sh: line 5: the grep: command not found
Linux centos7/usr/libexec/grepconf. Sh: line 5: the grep: command not found

Time:11-17


Probably know that is the problem of PATH,
* modify the PATH before make a backup, restore the same, still an error
* before have to delete the/etc/my CNF (backup), restored, still an error
* ~/. Following no change
# # #/etc/profile code

` ` ` HOSTNAME=`/usr/bin/HOSTNAME 2 & gt;/dev/null `
HISTSIZE=1000
If [" $HISTCONTROL "=" ignorespace "]. Then
Export HISTCONTROL=ignoreboth
The else
Export HISTCONTROL=ignoredups
Fi

PATH=$PATH:/usr/local/PHP/bin:/usr/local/mysql/bin
The export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL
` ` `
  • Related