![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error file Redirection | maxmave | Shell Programming and Scripting | 3 | 04-23-2008 09:17 AM |
| redirection | DNAx86 | Shell Programming and Scripting | 9 | 04-18-2008 11:24 AM |
| sed redirection | myle | UNIX for Dummies Questions & Answers | 3 | 03-12-2008 03:04 PM |
| Redirection or piping error message | mariner | Shell Programming and Scripting | 2 | 05-10-2005 12:04 PM |
| Help with redirection | Shallon1 | High Level Programming | 2 | 12-12-2001 03:35 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
error redirection
i am using 2> to redirect all the standard errors that i get in my bash script.. this command needs to be given in all the statements for which the errors are to redirected..
is there a command that will catch all the errors in all the shell commands that are present inside a script .? pls help.. |
| Forum Sponsor | ||
|
|
|
|||
|
hi era
exec 2>/path/to/stderr.log .... this command seems to be like an alternate for using -x when we run a script.... it directs not just the error but all the commands and the step wise execution for that program.... i would like to redirect only the standard errors of all the commands in a program .... any idea for that .. |
|||
| Google UNIX.COM |