This is a discussion on Saving and restoring standard file descriptors of shell scripts - Questions ; How can a shell script save and restore its standard file descriptors (stdin, stdout and stderr)?...