First page
Back
Continue
Last page
Graphics
Numeric if example
Full-form simple
if
statement
declare -i x=1
if ((x==1))
then
echo x is $x
fi
Or the compact form
if ((x==1)); then echo x is $x; fi
Or the recommended form:
if ((x==1)); then
echo x is $x
fi