NUMBER1 <= NUMBER2 (arithmetic operator)

true if number1 is less than or equal to number2.

Examples

Test if a number is less than or equal to another number:
1
(( n <= 42 )) && echo "less than or equal to 42!"
BashSupport Pro 是一个 支持 <= 的 Bash 集成开发工具 – 马上试用!
© 2020–2026 Joachim Ansorg
声明
隐私政策
许可条款