How to exit if a command failed?
58488
Aborting a shell script if any command returns a non-zero value
63613
Shell escape after PDF is finished and closed?
95296
Make a failed SSH forward a fatal error
82820
How to make a pipeline wait for end-of-file or stop after an error?
145669
Where is `exit` defined?
152938
How can I run a command if one or more conditions in /execute are satisfied?
59353
How to tell if a command executed by `exec` runs successfully or not?
30627
How to prevent screen from terminating when command in window terminates
26237
how do I detect if window.location failed?
21939
How do I get the application exit code from a Windows command line?
31746
How do I redirect command completion output?
102880
How to pipeline stderr in cmd.exe?
123473
"command not found" when running a shell script. What did I break?
94012
Execute command in terminal an don't wait its return
98065
Configuring to detect if a command does not exist, suggest installation
60587
Are there any standard exit status codes in Linux?
90881
What to use when the "ls" command doesn't work?