How to use Linux shell command exit codes

908

You can use the numeric codes returned by shell scripts or Ansible playbooks to identify problems and test the code.

Read More at Enable Sysadmin