not included in the PATH environment variable

Despues de reiniciar un equipo con Ubuntu 7.10 Server,  y querer ejecutar algun comando, se me presentaba el siguiente error:

Por ejemplo al hacer ls, salia esto:

Command 'ls' is available in '/bin/ls'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.

El problema al parecer es un arranque defectuoso del sistema y no se cargan correctamente la configuración.

La solución es setear la variable PATH, con el siguiente comando:

export PATH=/usr/bin:/bin

Luego ya se podrá ejecutar los comandos normalmente.

Fuente:

http://ubuntuforums.org/showthread.php?t=1442849

  1. No trackbacks yet.

Deja un comentario