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