Bash Scripting on Linux (The Complete Guide) Class 06 – Exit Codes

How do you tell whether or not a task completed successfully? Usually, an error message is a sure sign that something went wrong. But when it comes to Linux, you won’t always have that to rely on. In this video, you’ll learn all about exit codes, which is how you determine whether or not a task in Linux is successful or if it failed.

YouTube player