linux test examples

C++
# -gt goes for greater than. 
test 100 -gt 99 && echo "Yes, that's true." || echo "No, that's false."
# Output: Yes, that's true.

test 98 -gt 99 && echo "Yes, that's true." || echo "No, that's false."
# Output: No, that's false.
Source

Also in C++: