The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Suppressing output to the screen rolex.mp UNIX for Dummies Questions & Answers 1 02-08-2007 04:19 AM
how to force output to screen?? ckng UNIX for Advanced & Expert Users 6 10-13-2006 01:46 PM
no screen output wisher115 UNIX for Dummies Questions & Answers 0 09-17-2006 08:25 AM
screen output gundu Shell Programming and Scripting 1 03-15-2005 09:31 AM
need to hide output to screen boat73 Shell Programming and Scripting 1 01-29-2002 10:54 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-06-2005
Registered User
 

Join Date: Jul 2005
Posts: 18
Turn off Screen Output

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.
Reply With Quote
Forum Sponsor
  #2  
Old 10-06-2005
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
Why would a profile create screen output if you are cacthing both stderr and stdout?
Reply With Quote
  #3  
Old 10-06-2005
Registered User
 

Join Date: Jul 2005
Posts: 18
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.
Reply With Quote
  #4  
Old 10-06-2005
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
I mean - are you trapping 1 and 2 like this?
Code:
myscript > /dev/null 2>&1
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0