Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Testing the Exit Status of a Command

Up
vote
Down

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.
 read more | score:7891 | -aweber, November 4, 2011
More Linux articles...

Abstract Art in Tallahassee

Selected articles

Space Tyrant: A threaded game server project in C

Missing the point of the Mac Mini

The Supreme Court is wrong on Copyright Case

No, RMS, Linux is not GNU/Linux

Shadow.sh: A simple directory shadowing script for Linux

The life cycle of a programmer

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin