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.


56 visits (1 today, 8 this week, 39 this month, 56 this year)
Uptime: 22:24:24 up 17 days, 23:36, 3 users, load average: 0.16, 0.13, 0.09
216.73.216.71 GET from server z.lamurakami.com

Tuesday, October 20, 2026 @ 10:24:24 PM
z.ServerAdmin@lamurakami.com