" I also discovered which i couldn't redirect STDERR without the need of also redirecting STDOUT. The solution in which programA sends STDOUT to STDIN of programB, then redirects STDERR to your log file: programA two> /var/log/programA.log How can I make my looping shell script pause after a loop by https://friedrichu357tuv0.shivawiki.com/user