arithmetic-operator
Bash != arithmetic operator
Returns 1 when numeric values differ.
Formal Syntax & Structure
bash syntaxbash
$(( 4 != 5 ))Return Value
integer
Returns 1 when numeric values differ.
Working Example
Example Snippetbash
printf '%s\n' "$(( 4 != 5 ))"