Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
joombaga
on Sept 19, 2019
|
parent
|
context
|
favorite
| on:
Pure Bash Bible
You got it! `test` is a shell builtin. `[` is basically syntactic sugar, and is a synonym for `test` with the additional requirement that the last argument must be a closing bracket `]`. `[[` is a shell keyword with more features.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: