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.


20 visits (2 today, 20 this week, 20 this month, 20 this year)
Uptime: 12:53:43 up 1 day, 17:41, 3 users, load average: 0.03, 0.05, 0.08
216.73.217.108 GET from server z.lam1.us

Friday, September 25, 2026 @ 12:53:43 PM
z.ServerAdmin@lamurakami.com