NUMBER1 > NUMBER2 (arithmetic operator)
true
if number1
is greater than or equal to number2
.
Links
Examples
- Test if a number is greater than or equal to another number:
1
(( n >= 42 )) && echo "greater than or equal to 42!"
BashSupport Pro 是一个 支持 >= 的 Bash 集成开发工具 – 马上试用!