Eric Huff wrote:
In a console, type : which realplay


instead of using the command 'which', you could use the command
'type'. Using type also tells you if it is an embedded bash
program or not. It finds more programs if you use it.

Try 'type time', and then 'which time', and you'll see the
difference.


~ $ which time
/usr/bin/time

~ $ type time
time is /usr/bin/time


On s imilar note (ie shell tricks)

I really do like the new "extended" tab functionality for bash.  No
need to  ESC ! anymore.

Well I guess that wouldn't be a good example would it? lol, didn't realize there really was an executable called time. Try 'type type' and 'which type'. Then you'll see....


I have come to the conclusion that which is a good program for using in scripts, in case the whole pathname has to be specified, but if you're just looking to see if the program exists, then type is the way to go.

john

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to