Bash Shortcut to Exit if not Running in an Interactive Shell Dec 21, 2016 • Tyler • Bash • Command • Linux • Shortcut [ -t 0 ] || exit 1