What does Bash's trap command provide?
It silently hides every script error.
It associates selected signals with commands or a handler function.
It grants execute permission to the script.
It creates an infinite loop automatically.