Advanced

Testing the Exit Status of a Command

Posted by aweber on
BashShell.net; By Mike Weber
Mail this story
Print this story

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.

Full Story

  Nav
» Read more about: Story Type: Tutorial

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

This topic does not have any threads posted yet!

You cannot post until you login.