![]() |
|
|
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 status running java classpath in unix shell | mmcds | High Level Programming | 2 | 08-02-2007 11:06 PM |
| how to check exit status in awk script | epall | UNIX for Dummies Questions & Answers | 1 | 06-24-2006 08:27 PM |
| Checking Exit Status | PrimeRibAndADew | Shell Programming and Scripting | 4 | 10-19-2005 04:01 PM |
| CronTab script exit status 134 | VijayKumar | Shell Programming and Scripting | 3 | 03-24-2005 11:56 PM |
| Checking the exit status of ftp | psingh | UNIX for Advanced & Expert Users | 1 | 06-04-2002 11:51 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
checking exit status of a shell script
Hi,
I have tried with the following code; if [ ./test.ksh ];then echo "Failure." else echo "Success." fi to test the exit status of the test.ksh shell script. But whatever is the exit status of the test.ksh shell script Failure. is always printed. Please help. regards, Dipankar. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|