I noticed there is file /bin/[.
Anybody know what is this file?
Because of location, if I understand correctly it is part of base system.
Why it is named so "funny"?
if [ "hello" == "${world}" ]; then
echo "Hello world"
fi
Then `[' is just a command. It is the same as the test command (Actually, they are hard links, use ls -i on them and they have the same inode) so you can also write:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.