Get the exit code in a series of pipes in Bash

Written by murze.be - - Aggregated on Thursday January 3, 2019

TIL: $PIPESTATUS lets you access the exit code of a command used in a series of pipes in Bash pic.twitter.com/eRVrPQwnve

— Mattias Geniar (@mattiasgeniar) January 2, 2019

« Laravel Core Adventures - murze.be

murze.be - Presentation skills for programmers »