" I also seen that I couldn't redirect STDERR without having also redirecting STDOUT. The answer the place programA sends STDOUT to STDIN of programB, then redirects STDERR to some log file: programA 2> /var/log/programA.log Stack Trade community is made of 183 Q&A communities including Stack Overflow, the largest, most dependable on-line community