![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| exit codes from rexec? | diego_sapphire | UNIX for Dummies Questions & Answers | 4 | 05-04-2009 11:44 AM |
| Exit Codes | cmschube | Shell Programming and Scripting | 1 | 04-04-2008 11:34 AM |
| Exit codes in SFTP | vikramsnest | Shell Programming and Scripting | 1 | 08-16-2007 02:08 AM |
| Where can I find a list of exit codes? (Exit code 64) | jkuchar747 | UNIX for Dummies Questions & Answers | 3 | 12-07-2004 06:08 PM |
| exit codes | donna carter | High Level Programming | 3 | 05-31-2001 09:35 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Catching all Exit Codes
I have a Unix Script that has several exit in the middle. each returning seperate
exit codes. I have to catch all the exit's and perform an operation say "Mail the status code" before the actual code completes. How can i do this in KSH ? |
|
||||
|
trap "command" EXIT
man ksh trap |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|