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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: