![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. Shell Script Page. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with exec command and file descriptors II | masaki | Shell Programming and Scripting | 1 | 03-18-2008 12:12 AM |
| exec command and field descriptors.. | moxxx68 | UNIX for Dummies Questions & Answers | 5 | 12-04-2004 01:58 PM |
| file descriptors | a25khan | UNIX for Dummies Questions & Answers | 3 | 01-27-2004 03:46 PM |
| File Descriptors | shibz | UNIX for Advanced & Expert Users | 3 | 12-18-2002 06:12 AM |
| File Descriptors | s_chordia | High Level Programming | 2 | 12-24-2001 07:45 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Help with exec command and file descriptors??
im having trouble with the comprehending the exec command and the use of file descriptors.
given: #!/bin/sh exec 4>&1 exec 1>&2 exec 2>&4 exec 4>&- echo Hello would the standard output of this script be sent to STDOUT, STDERR or neither and why??? thanks for the help. |
| Forum Sponsor | ||
|
|