Test - Condition Evaluator
Evaluate expressions and return exit status 0 (true) or 1 (false). Used for file attribute testing, string comparison, and numeric checks in scripts.
Usage
test-tool <expression>
Common Tests
-f file: True if file exists-d dir: True if directory exists-z str: True if string is emptyn1 -eq n2: True if numbers equals1 = s2: True if strings equal
Examples
test-tool -f /etc/passwd
test-tool -d /home/user
test-tool 5 -gt 3