indivC wrote (2022-11-19 16:13 CET):
> I can't say I understand the technical differences
> between 'type' and which(1).
> However, I will mention these points:
>
> 1. There is no man page for 'type', but there is for which(1)
try ksh(1):
type Short form of command -V
There is also whence.
> 2. There also appears to be whereis(1). However, I can't speak
> to the differences between this command and the other two.
As described the respective manpages:
whereis searches in
/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
which searches in $PATH
Best Regards,
Stefan