On Sun, Sep 05, 2021 at 10:05:12AM +1000, pe...@chubb.wattle.id.au wrote:
> 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.

Which interactive shell is the user in?

mksh:
 * which -a

zsh:
 * which -a
 * whence -a
 * type -a
 * where

fish:
 * type -a

For csh and tcsh, this obviously wasn't working in the first place, as
the builtin which commands don't understand an `-a` switch.

For other shells, you could install GNU which or any other alternative
once they pass through the NEW queue.

However, this functionality does not belong in the Essential set.

Reply via email to