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.


13 visits (1 today, 6 this week, 13 this month, 13 this year)
Uptime: 09:54:09 up 10 days, 19:17, 2 users, load average: 0.06, 0.04, 0.00
3.133.157.142 GET from server z.lamurakami.com

Tuesday, March 11, 2025 @ 9:54:09 AM
z.ServerAdmin@lam1.us