The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 's manas6 UNIX for Dummies Questions & Answers 0 06-05-2008 07:44 AM
cp and rm return non zero value latitude High Level Programming 7 08-26-2007 09:04 AM
Return Key chapmana Shell Programming and Scripting 2 11-29-2006 04:52 AM
FTP return value Shaz UNIX for Advanced & Expert Users 7 06-11-2003 05:09 PM
Return value raphael.schwend Shell Programming and Scripting 1 05-03-2002 03:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-05-2002
gusla gusla is offline
Registered User
  
 

Join Date: Feb 2002
Posts: 31
Smile the return value $?

Could someone tell me that's the return value $? 15 mean? Where can i find out more?

Many thanks
  #2 (permalink)  
Old 12-06-2002
TioTony's Avatar
TioTony TioTony is offline Forum Advisor  
Bit Pusher
  
 

Join Date: Oct 2001
Location: Southern California
Posts: 332
What command returned the 15?
  #3 (permalink)  
Old 12-06-2002
Ralf's Avatar
Ralf Ralf is offline
Registered User
  
 

Join Date: Oct 2002
Posts: 34
The return value of 0 (zero) indicates that the process ran ok, anything else is set by the process (script) that you ran.

So the number 15 (probably and exit code) came from the script that you ran. Try searching the script fot the words 'exit 15'
  #4 (permalink)  
Old 12-08-2002
gusla gusla is offline
Registered User
  
 

Join Date: Feb 2002
Posts: 31
the value is not returned by unix script

hmm, is there no distinguish between 1 and 15? The unix script invokes an other program (natural program). I presume the return value is from the 'natural program'. Is that mean depends on the meaning of return code in 'natural'?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0