Tests

Bash Unix Shell Scripting:

Chapter 7. Tests

Table of Contents

Every reasonably complete programming language can test for a condition, then act according to the result of the test. Bash has the command, various and operators, and the if/then construct.