Is there a way to turn off standard output while processing is going on? I have tried redirecting to /dev/null but that is not working because some of the commands invoke a profile. I would like to temporarily turn off the screen output until the processing is complete. Sort of like a splash screen while everything is being intialized.
Thanks.
Why would a profile create screen output if you are cacthing both stderr and stdout?
I'm really not sure whey the output is generated. I am calling a global environment function that generates the output. It may not be from the profile but it looks like what happens when I login to the box.
I mean - are you trapping 1 and 2 like this?
myscript > /dev/null 2>&1