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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-13-2001
didi didi is offline
Registered User
 

Join Date: Nov 2001
Posts: 4
exit value of the last run

I want to get the exit value of the last run.
I thought I can use the argument "$?" which supposed to hold the value but I get a syntax error.
Is there another way?
Thanks
Sponsored Links