conditional-operator
Bash -le comparison
Numeric less than or equal.
Formal Syntax & Structure
bash syntaxbash
[ a -le b ]Return Value
exit status
Numeric less than or equal.
Working Example
Example Snippetbash
[ '10' -le '10' ]printf '%s\n' "$?"Numeric less than or equal.
[ a -le b ]Numeric less than or equal.
[ '10' -le '10' ]printf '%s\n' "$?"