Archives

All posts for the month July, 2017

ISSUE: /usr/libexec/grepconf.sh: line 5: grep: command not found (all Linux commands are not working)

Published July 10, 2017 by Siva

Found the problem I have set Environmental Variables in /etc/environment which caused the system.

export JAVA_HOME=/opt/jdk1.8.0_121
export JRE_HOME=/opt/jdk1.8.0_121/jre
export PATH=$PATH:/opt/jdk1.8.0_121/bin:/opt/jdk1.8.0_121/jre/bin

FIX : PATH=/usr/local/bin:/usr/bin:$PATH

Then , THe issue resolved, Remove the content in the /etc/environment file. Happy Fixing 😉

Advertisements