title: In bash, is there an equivalent of die "error msg"
body: <p>In perl, you can exit with an error msg with <code>die "some msg"</code>.  Is there an equivalent single command in bash?  Right now, I'm achieving this using commands: <code>echo "some msg" &amp;&amp; exit 1</code></p>