An if can test any command, not just conditions enclosed within brackets. .... Therefore, in a Bash script, test does not call the external /usr/bin/test binary, which is part of the sh-utils package. Likewise ...
www.tldp.org