This is a discussion on Print out exitcode? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi. Does anybody know how to print the exitcode of a program to the console? Regards Klaus....
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Sun, 6 Jun 2004, Klaus Petersen wrote: > > Does anybody know how to print the exitcode of a program to the console? exit $? -- Fire the Liars - Impeach Bush and Cheney! Prosecute the criminals - Indict Rumsfeld! Corruption starts at the top. William Hunt, Portland Oregon USA |
| |||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|