Useful lines to add to .bash_profile Displays the exit status of all pipes after each command PROMPT_COMMAND='echo Pipe status: ${PIPESTATUS[@]}'