Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Find Exit Code of Last Command Run On The Command Line

This is how you find the exist code of the last command you ran :

echo $?
results start

A [TODO: Code shorthand span ] is returned if there were no problems. Any non - 0 value represents an error.

For example, this will return [TODO: Code shorthand span ] (assuming [TODO: Code shorthand span ] runs properly) :

date
echo $?
results start

And this will return [TODO: Code shorthand span ] because running false returns it like an error would

false
echo $?
results start

Footnotes And References