Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
__david__
3 months ago
|
parent
|
context
|
favorite
| on:
Today I Learned: Binfmt_misc
Another nit, while test and [ are indeed binaries, they are also bash built-ins (for performance, presumably) so bash won’t exec them normally.
porridgeraisin
3 months ago
[–]
True! And for those curious, you can enable disable this shadowing per command, like so:
enable test enable -n test # disable enable -n [
You can also use
command test -f file.txt
To override builtins once.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: