" I also seen that I could not redirect STDERR without the need of also redirecting STDOUT. The answer where programA sends STDOUT to STDIN of programB, then redirects STDERR into a log file: programA 2> /var/log/programA.log Stack Exchange network consists of 183 Q&A communities together with Stack Overflow, the biggest, most trustworthy on the in