I know this doesn't answer the question, but finding a program's path __is__ covered in the Unix FAQ: http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC23 -- Greg Green