On Sun, August 12, 2012 12:49 pm, Mark Walkom wrote:
What does echo $PATH give you?
thanks, Mark
after I rebooted the system to disable selinux, the path issue went away,
it's all fine now
and, fwiw, # echo $PATH
I have this system that's seems to have lost path to binaries, that
applies to just about every command I've tried
executing with full path works OK ('whereis' executes OK)
how/where to fix this ?
# init 6
bash: init: command not found
# whereis init
init: /sbin/init /etc/init.d
What does echo $PATH give you?
If nothing check the users home directory and look in any ~/.bash* files
for a PATH setting. eg;
mark@bender:~$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
mark@bender:~$ ll .bash*
-rwxr-xr-x 1 mark staff 3.0K 19 Jul