arithmetic-operator
Bash == arithmetic operator
Compares numeric values, not strings.
Formal Syntax & Structure
bash syntaxbash
$(( 4 == 4 ))Return Value
integer
Compares numeric values, not strings.
Working Example
Example Snippetbash
printf '%s\n' "$(( 4 == 4 ))"