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
If statement - How to write a null statement april Shell Programming and Scripting 3 04-16-2008 10:14 AM
Can't understand sar command shaan_dmp UNIX for Dummies Questions & Answers 1 10-23-2007 04:04 AM
can't understand this at all. severndigital UNIX for Dummies Questions & Answers 4 02-21-2007 08:21 AM
can't understand BoyArcher UNIX for Dummies Questions & Answers 5 03-14-2006 05:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2008
Registered User
 

Join Date: Oct 2007
Posts: 10
Stumble this Post!
Not able to understand what's do the statement

Always, I have a confuse/not understand file descriptors.

I know about the
0 for standard input
1 for standard output
2 for standard error
and 3 to 9 is a additional file descriptor but it's a theoritical knowledge.

Could you please give information about below two lines of code in AIX UNIX.

exec 3>&1
stdout=3 export stdout


Thanks in advance.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-20-2008
Registered User
 

Join Date: Oct 2007
Posts: 10
Stumble this Post!
Just I would like clear one more thing.

This two lines are part of shell script function.

Thanks
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:54 PM.


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

Content Relevant URLs by vBSEO 3.2.0