Tests

Chapter 7. Tests

Table of Contents
7.1. Test Constructs
7.2. File test operators
7.3. Other Comparison Operators
7.4. Nested if/then Condition Tests
7.5. Testing Your Knowledge of Tests

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


5 visits (1 today, 3 this week, 5 this month, 5 this year)
Uptime: 04:36:10 up 12:15, 1 user, load average: 0.08, 0.03, 0.01
216.73.217.127 GET from server z.larrymurakami.com

Wednesday, July 22, 2026 @ 4:36:10 AM
z.ServerAdmin@lamurakami.com