#1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Posts
    27
    Rep Power
    0

    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
  2. #2
  3. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Posts
    27
    Rep Power
    0
    nevermind issue resolved I added path to bash profile

IMN logo majestic logo threadwatch logo seochat tools logo