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.


2 visits (2 today, 2 this week, 2 this month, 2 this year)
Uptime: 01:58:15 up 1 day, 6:14, 2 users, load average: 1.03, 0.50, 0.20
216.73.217.115 GET from server z.lam1.us

Wednesday, June 10, 2026 @ 1:58:15 AM
z.ServerAdmin@lamurakami.com