Test Tool
Evaluate conditional expressions for file testing, string comparison, and arithmetic checks. Use for shell script conditionals.
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
Related skills
- Downloads
- 773All time
- Security audit
- Pass
- Last updated
- 6mo ago
- Current version
- v1.0.0
- License
- MIT-0
