" I also discovered which i couldn't redirect STDERR with out also redirecting STDOUT. The solution the place programA sends STDOUT to STDIN of programB, then redirects STDERR to the log file: programA 2> /var/log/programA.log How am i able to make my looping shell script pause after a loop by sending some thing like ctrl-z after which you can be c