Linux Terminal Glossary
›
Bash Scripting
if [[ $NUM -gt 10 ]]; then ... fi
Category:
Bash Scripting
if [[ $NUM -gt 10 ]]; then ... fi
Copy command
Compare numbers: greater than
Compares two numbers: -gt means 'greater than'. For strings use == or !=.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.