---

Linux bash exit status and how to set exit status in bash

Can you explain bash exit status code? How do I set bash exit status in my Linux shell scripts? This page explains exit status codes for bash shell and how to set or print them on demand including a list of standard error codes.