how to get the exit status of the first command in a pipe?
14209
Pipe output and capture exit status in Bash
70881
Make bash exit != 0 when called by AWK and interrupted with ^C
147826
Obtaining PID of command earlier in Pipeline
15296
How can I assign the output of a command to a shell variable?
22002
How can I capture stdout/stderr in a file but still see it in my console?
31959
How to redirect and append both stdout and stderr to a file with Bash?
26967
How to wait in bash for several subprocesses to finish and return exit code !=0 when any subprocess ends with code !=0?
80372
Exit of "> " mode in Unix shell
102880
How to pipeline stderr in cmd.exe?
125468
Why does bash show 'Terminated' after killing a process?
86819
Redirect STDERR / STDOUT of a process AFTER it's been started, using command line?
114516
How to store pipe ( | ) in a variable?
69760
Correct location for piping and redirecting output in find -exec?
58488
Aborting a shell script if any command returns a non-zero value
83942
Get PID of any command in backgrounded piped sequence of commands
139223
How do I pipe each command given to the shell?
134648
find exec '{}' not available after >