Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: