You can roll your own easily enough:
die() { echo "$*" 1>&2 ; exit 1; }
...
die "Kaboom"
More Related Contents:
- What does 2>&1 mean here?
- How to reload .bashrc settings without logging out and back in again?
- How do I iterate over a range of numbers defined by variables in Bash?
- Why would a correct shell script give a wrapped/truncated/corrupted error message? [duplicate]
- When do we need curly braces around shell variables?
- Bash command line and input limit
- How to find the difference in days between two dates?
- How to assign the output of a Bash command to a variable? [duplicate]
- Running script upon login in mac OS X [closed]
- Command substitution: backticks or dollar sign / paren enclosed? [duplicate]
- Using the RUN instruction in a Dockerfile with ‘source’ does not work
- Why start a shell command with a backslash?
- How to process each output line in a loop?
- Is there a TRY CATCH command in Bash
- Set a parent shell’s variable from a subshell
- What expands to all files in current directory recursively?
- find: missing argument to -exec
- What does it mean in shell when we put a command inside dollar sign and parentheses: $(command)
- How does bash tab completion work?
- Is mixing getopts with positional parameters possible?
- How to resolve symbolic links in a shell script
- How to check if running as root in a bash script
- Print a file’s last modified date in Bash
- Is there an elegant way to store and evaluate return values in bash scripts?
- How can I convert tabs to spaces in every file of a directory?
- How to match a single quote in sed
- Temporarily change current working directory in bash to run a command [duplicate]
- How to break out of a loop in Bash?
- How to tell if a string is not defined in a Bash shell script
- How to grep for case insensitive string in a file?