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.


14 visits (2 today, 2 this week, 14 this month, 14 this year)
Uptime: 02:03:37 up 14:31, 3 users, load average: 0.08, 0.06, 0.02
216.73.216.80 GET from server z.larryforalaska.com

Sunday, October 26, 2025 @ 2:03:37 AM
z.ServerAdmin@lam1.us