Testing the Exit Status of a Command

Discussion in 'Linux News' started by Fred, Nov 3, 2011.

  1. Fred

    Fred New Member

    Messages:
    1,484
    Likes Received:
    3
    Trophy Points:
    0
    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.


    More...

Share This Page