Glossary: Linux for Developers
$? (last exit code)
Also written: $?
A shell variable holding the exit code of the last command. `echo $?` prints 0 if it worked and another number if it failed.
Glossary: Linux for Developers
Also written: $?
A shell variable holding the exit code of the last command. `echo $?` prints 0 if it worked and another number if it failed.