Sunday, February 2, 2014

bash tips

Check if the last command you ran was successful

echo $?

If it returns 0, the command completed successfully. 1 means, it errored out.