2 ms·
Very true, I missed that thanks - to illustrate how that could be important (to the scripter): kaneda@tetsuo:~ which type kaneda@tetsuo:~ type type
by stonesweep 6y ago
Very 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.