>  ....also, I'm not seeing anything in this discussion about path.
>You need to cd to the directory the binary is in to use './binary',
>or you need to execute '/path/to/the/binary'.
>
>eg,    /usr/bin/tuxracer      or      /usr/local/bin/lame     or
>                  /home/tom/src/mprime -m
>
>   In these examples the './' isn't used  
With some of the binary paths (which include /usr/bin, /bin, /sbin,
/usr/sbin, and possibly /usr/local/bin and /usr/local/sbin), you would not
need to use the full path to the binary.

The PATH variable in Mandrake (for the non-root user) includes:

/bin, /usr/bin, /usr/local/bin, /usr/bin/X11, /usr/X11R6/bin, /usr/games,
and /home/username/bin

As root, by default, you have:

/sbin, /usr/sbin, /bin, /usr/bin, and /usr/X11R6/bin

Anyways, you do not need to use the full path to a binary unless it is in
some unusual place (such as /opt, or installs to some directory not already
included by default).

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems & Administration Consultant
Web Spinners, University of West Florida

Reply via email to