Hacker News new | ask | show | jobs
by 0xbadcafebee 1695 days ago
The POSIX shell builtin command -v <name> basically already functions like which, and the whole purpose of which is to tell you where in $PATH a command is
1 comments

It doesn't function exactly like "which" because it's missing two key features: an intuitive name, and a million man-hours of experience being used.