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.


62 visits (2 today, 4 this week, 32 this month, 62 this year)
Uptime: 07:43:01 up 15:22, 1 user, load average: 0.07, 0.15, 0.07
216.73.216.66 GET from server z.larryforalaska.com

Wednesday, July 22, 2026 @ 7:43:01 AM
z.ServerAdmin@lamurakami.com