query: Get exit code from preceding command before pipe
positive_passages.docid: 80410
positive_passages.text: Get exit status of process that's piped to another
negative_passages.docid: 151142
negative_passages.text: How to change the output of a command if it has been called already?
negative_passages.docid: 83942
negative_passages.text: Get PID of any command in backgrounded piped sequence of commands
negative_passages.docid: 99250
negative_passages.text: How do I read the source code of shell commands?
negative_passages.docid: 138210
negative_passages.text: Capturing stdout from a system() command optimally
negative_passages.docid: 43401
negative_passages.text: redirect output of command to /dev/null
negative_passages.docid: 7431
negative_passages.text: How does ${!#} work in bash to get the last command-line argument?
negative_passages.docid: 84250
negative_passages.text: Early exit from function?
negative_passages.docid: 37287
negative_passages.text: How to get the return value of a program ran via calling a member of the exec family of functions?
negative_passages.docid: 58488
negative_passages.text: Aborting a shell script if any command returns a non-zero value
negative_passages.docid: 54231
negative_passages.text: How can I retrieve the first word of the output of a command in Bash?
negative_passages.docid: 111721
negative_passages.text: How to check if gcc has failed, returned a warning, or succeeded in Bash?
negative_passages.docid: 117820
negative_passages.text: Is it possible to reverse a command in the bash shell?
negative_passages.docid: 67455
negative_passages.text: How do I suppress stderr warning messages from a command inside command substitution?
negative_passages.docid: 80372
negative_passages.text: Exit of "> " mode in Unix shell
negative_passages.docid: 128779
negative_passages.text: How do I get the list of exit codes (and/or return codes) and meaning for a command/utility?
negative_passages.docid: 142684
negative_passages.text: Generic exit function for iTerm2