You are viewing a single comment's thread. Return to all comments →
#!/bin/bash read x read y [[ $x -gt $y ]] && echo 'X is greater than Y' [[ $x -eq $y ]] && echo 'X is equal to Y' [[ $x -lt $y ]] && echo 'X is less than Y'
Seems like cookies are disabled on this browser, please enable them to open this website
Comparing Numbers
You are viewing a single comment's thread. Return to all comments →