Andrew's Digital Garden

Get exit status of commands

Running echo $? after a command will print the exit status of the last run command.

0 is the standard exit code for success.

[[shell]]

Get exit status of commands