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.


3 visits (2 today, 3 this week, 3 this month, 3 this year)
Uptime: 23:13:28 up 3 days, 15:29, 2 users, load average: 0.00, 0.87, 5.26
216.73.216.70 GET from server z.lam1.us

Saturday, July 4, 2026 @ 11:13:28 PM
z.ServerAdmin@lamurakami.com