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

> `command` is correctly informing you of the whole story.

You are assuming a bit too much here.

Which tells you the preferred executable with that name, while command tells you what will run if you execute it on the current shell.

From what I can tell, one does not replace the other. But yes, for your example of usage, command is more correct.



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

Search: