View Single Post

   
  #4 (permalink)  
Old 02-19-2008, 11:59 AM
William Hunt
 
Posts: n/a
Default Re: Print out exitcode?

On Sun, 6 Jun 2004, William Hunt wrote:

> On Sun, 6 Jun 2004, Klaus Petersen wrote:
> >
> > Does anybody know how to print the exitcode of a program to the console?

>
> exit $?


unwise to post until one is awake;
the correct answer is of course,

echo $?


<sheesh>






--
Fire the Liars - Impeach Bush and Cheney!
Prosecute the criminals - Indict Rumsfeld!
Corruption starts at the top.

William Hunt, Portland Oregon USA
Reply With Quote