Helpful Information
 
 
Category: Linux Help
bash command not found

here is the the command I'm executing from the shell :

$traceroute whatever.com

Here is the error :

bash: traceroute: command not found

but when executing :

$/usr/sbin/traceroute whatever.com

(works fine)

when executing :

$which traceroute :

/usr/bin/which: no traceroute in (/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/matt/bin)

but from the root shell I can run traceroute no problem.

Is there any way I can add the path to traceroute for my other users?

Thank you for any help

-Eric

nevermind issue resolved I added path to bash profile










privacy (GDPR)