Los comandos de Shell no funcionan: REDHAT

Los comandos de Shell no funcionan: REDHAT

Agregué algún servicio al script de inicio y luego, después de reiniciar, recibí este mensaje:

24 package(s) needed for security, out of 52 available
Run "sudo yum update" to apply all updates.
-bash: id: command not found
-bash: id: command not found
-bash: id: command not found
-bash: tty: command not found
-bash: mktemp: command not found
-bash: $TMP: ambiguous redirect
-bash: rm: command not found

y luego , cuando intento ejecutar la mayoría de los comandos básicos como ,,, netstatetc. , aparece un mensaje de error como estepsgrepll

-bash: ls: command not found

pero algunos comandos como cp, chkconfigestán funcionando. He comprobado que mi archivo /bin/bash está presente. cual puede ser la razon ?

pero antes de eso hice los siguientes cambios

echo "JAVA_HOME=/usr/java/jdk1.6.0_45" >> /etc/profile.d/custpath.sh
echo "export JAVA_HOME" >> /etc/profile.d/custpath.sh
echo 'PATH=$PATH:$JAVA_HOME/bin' >> /etc/profile.d/custpath.sh
echo "export PATH" >> /etc/profile.d/custpath.sh

y cambió el archivo /etc/environment a

export JAVA_HOME=/usr/java/jdk1.6.0_45
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=$CLASSPATH:/usr/java/jdk1.6.0_45/jre/lib

información relacionada