3 ms·
> `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, whil
by marcosdumay 5y ago
> `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.