![]() |
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 |
| 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Major OS errors/Bash errors help!!!! | wcmmlynn | UNIX for Dummies Questions & Answers | 12 | 11-13-2007 04:50 AM |
| Adapter Errors and Link Errors | mcastill66 | AIX | 2 | 08-02-2005 06:51 PM |
| Adapter Errors and Link Errors | mcastill66 | UNIX for Advanced & Expert Users | 0 | 08-02-2005 06:11 PM |
| trapping errors while using FTP. | radhika | Shell Programming and Scripting | 5 | 05-27-2005 07:55 AM |
| ftp error trapping | dhawkjrscripter | UNIX for Dummies Questions & Answers | 1 | 04-15-2005 04:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I am using unixs script to submit programs (SQRS) and need to trap any time of error that is received once the job finishes.
Examples of the type of errors I am getting Error! SQR Failed To Process mkdir: Failed to make directory These are showing up in a log file but I do not want to have to grep on the log file for every possible text string. I am new to unix , although I have had exposure in the pass to it. Would welcome direction and help in how to code for errors. |
|
||||
|
Okay, I want to trap any system error messages that may occur within a unix shell script. When I do a mkdir command and it fails how to trap the error.
When my sqr program fails with "Error! SQR Failed To Process" how to trap the error and exit the shell script with an exit 99 |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|