3 ms·
It can also be a shell builtin: akira@akira:~ which which which: shell built-in command
by akira2501 6y ago
It can also be a shell builtin:
akira@akira:~ which which
which: shell built-in command
- stonesweep 6y agoVery true, I missed that thanks - to illustrate how that could be important (to the scripter): kaneda@tetsuo:~ which type kaneda@tetsuo:~ type type type is a shell builtin kaneda@tetsuo:~ command -v type type This was on Ubuntu, the which script doesn't resolve type or command silently, while on say Arch it's verbose ("can't find type in (paths ... ...)" so even a failure-to-find emits differently for the `which` crowd.