Yes, it's a different binary, and it's perfectly usual to find it in a
Linux system.

But note that, at least in bash, you rarely will be using /usr/bin/[
unless you reference it using the full path (either in a relative or
absolute way). This is because bash has a builtin that takes over that
binary file. You can check that (or any other command) by using the
"type" instruction (again, this is for bash).

# LC_ALL=C type [
[ is a shell builtin

The same goes for 'test'.

Those binaries are probably there just in case that some init or
system script written for a standard bourne shell (like the busybox
one) needs it. But don't take my word for it. I am not sure right now.

-- 
Jesús Guerrero Botella

Reply via email to