Comment Comment by jeramey Yes, there is. To negate, just use ! as with many other languages. if ! command …; then do_needed_things fi parent jeramey 2 years ago