16 ms·
It is indeed a builtin, but `/bin/[` still exists for compatibility reasons! $ which [ /bin/[ $ type [ [ is a shell builtin The same is true for t
by MontyCarloHall 9mo ago
It is indeed a builtin, but `/bin/[` still exists for compatibility reasons!
$ which [
/bin/[
$ type [
[ is a shell builtin
The same is true for the `test` command:
$ which test
/bin/test
$ type test
test is a shell builtin
- stabbles 9mo agoRight, that's also a good reminder that the builtin `command -V` is typically what you want whenever you use not-always-builtin `which` ;)