> findcommand() [...] should do what command -v does. Nice. Note, however, that it doesn't do all of what command -v does; it lacks command -v's ability to print the names of builtins. $ bash $ command -v test test $ findcommand test /usr/bin/test command -v also prints the names of shell functions, but that is another story. -- Thomas Hood <jdthood@aglu.demon.nl>