Hacker News new | ask | show | jobs
by Symbiote 2369 days ago
'whence' would be more specific – it's archaic in English, it means 'from where' – although it's used within the ksh shell.
2 comments

‘whence’ is POSIX-reserved even in shells that don't implement it¹. (‘what’ is also in POSIX². And ‘who’ is on first³.)

¹ https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...

² https://pubs.opengroup.org/onlinepubs/9699919799/idx/utiliti...

³ https://youtu.be/kTcRRaXV-fg

zsh also implements whence
ksh as well. Found someone’s reference to various “what” type commands[1]:

> The whence command is a Korn Shell feature that tells how a name would be interpreted by the shell: it detects commands and aliases, and searches your path.

[1] http://www.robelle.com/smugbook/whence.html

Perhaps 'whip' for 'what internet protocol'?