Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
The Bash shell provides a builtin command that allows you to test the exit status of a command to determine if the command was successful or not. The test command provides a way to make decisions about what will happen next in a script.