Answers for "linux test examples"

0

linux test examples

# -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.
Posted by: Guest on February-09-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language