The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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
exit 2 xramm Shell Programming and Scripting 2 08-15-2007 06:48 AM
exit(0) versus exit(1) enuenu High Level Programming 9 06-22-2007 07:56 AM
exit dhananjaysk Shell Programming and Scripting 2 04-06-2006 05:34 AM
Where can I find a list of exit codes? (Exit code 64) jkuchar747 UNIX for Dummies Questions & Answers 3 12-07-2004 02:08 PM
How to exit ssh davidg UNIX for Advanced & Expert Users 1 10-16-2003 04:10 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-27-2007
Registered User
 

Join Date: Jul 2007
Posts: 72
Stumble this Post!
what is meaning of exit(0) and exit(1)

can u tell me what is the meaning of exit(0),exit(1),exit(2)
what is diff amonng these.
Amit
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-28-2007
Registered User
 

Join Date: Aug 2007
Location: Bangalore
Posts: 285
Stumble this Post!
exit status ranges from 0-255.
only exit 0 means the success and rest
describe some sort of failure.The status is not known
if you want to know that you cad do that by typing $? on command prompt.

Thanks
Namish
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0