Return Code

    Source: https://linuxhint.com/bash-exit-code-of-last-command/

    To check the return code of the last command use

    echo Last command return code was $?