`echo $?` returns the exit code of the previous command December 2, 2019 $ false $ echo $? 1 $ echo "hello" $ echo $? 0