4 ms·
...and perhaps surprisingly also a program sitting on disk. $ type [ [ is a shell builtin $ [ 1 -gt 0 bash: [: missing `]' $ whereis [
by frou_dh 12y ago
...and perhaps surprisingly also a program sitting on disk.
$ type [
[ is a shell builtin
$ [ 1 -gt 0
bash: [: missing `]'
$ whereis [
/bin/[
$ /bin/[ 1 -gt 0
# success
- mappu 12y agoYou got a root shell out of `/bin/[` ? Impressive :)
- e12e 12y agoHm, which version of [ is that? I get: $ /usr/bin/[ 1 -gt 0 && echo success /usr/bin/[: missing `]' $ /usr/bin/[ 1 -gt 0 ] && echo success success (This is from coreutils 8.13-3.5 on Debian GNU/Linux)
- frou_dh 12y agoWhat ships in OS X 10.9, presumably BSD-derived.