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.


61 visits (4 today, 13 this week, 44 this month, 61 this year)
Uptime: 20:57:25 up 19 days, 22:09, 3 users, load average: 0.10, 0.12, 0.09
216.73.216.65 GET from server z.larrymurakami.com

Thursday, October 22, 2026 @ 8:57:25 PM
z.ServerAdmin@lamurakami.com