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:6449 | -aweber, November 4, 2011
More Linux articles...

Tallahassee Abstract Art

Selected articles

Space Tyrant: Multithreading lessons learned on SMP hardware

Mono-culture and the .NETwork effect

The Network Computer: An opportunity for Linux

Shadow.sh: A simple directory shadowing script for Linux

The Real Microsoft Monopoly

Beneficial Computer Viruses

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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