Debian's which hunt
Debian's which hunt
Posted Oct 28, 2021 17:48 UTC (Thu) by oever (guest, #987)In reply to: Debian's which hunt by dskoll
Parent article: Debian's which hunt
"type -Pp $command" gives the path to the file that would be executed and nothing for aliases.
That seems at least as good as "command -v $command".
