Package: debianutils Version: 5.4-3 Now that which is going, what's the equivalent command for 'which -a' ??? 'command -v' doesn't show all instances of a command in $PATH.
As a sysadmin, it's one of the first things I ask someone to do when helping them, to make sure that the system version of a command (they say isn't working) is installed, and that their PATH uses it. I know I can do: OIFS="$IFS" IFS=: for x in $PATH do [ -e "$x/$cmd" ] && echo "$x/$cmd" done IFS="$OIFS" (suitably extended to ensure correct exit status) but that's a lot harder to get someone to type in over the phone than to ask them to type 'which -a cmd' Peter C