After Upgrade to Oracle Linux 6.8, /etc/profile.d/colorls.sh has Invalid Path to Grep (Doc ID 2248181.1)

Last updated on APRIL 03, 2017

Applies to:

Linux OS - Version Oracle Linux 6.8 and later
Linux x86-64

Symptoms

After upgrading from Oracle Linux 6.7 with coreutils-8.4-37.0.2.el6_7.3.x84_64 to Oracle Linux 6.8 with coreutils-8.4-43.0.1.el6 /etc/profile.d/colorls.sh has a hardcoded path to /usr/bin/grep but grep is installed in /bin/grep.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms