Each command returns an exit code, which can be used for automated scripts.