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.


48 visits (1 today, 26 this week, 45 this month, 48 this year)
Uptime: 02:33:54 up 11 days, 7:16, 2 users, load average: 0.00, 0.00, 0.00
216.73.216.118 GET from server z.lam1.us

Saturday, June 21, 2025 @ 2:33:54 AM
z.ServerAdmin@lam1.us