Ravi Sir's Cards › AWS
Bash maths
What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.
Read card text
What this card says
Why do we need it?
Integers with $(( )).
echo $((a+b))
What is it?
Compare with (( )).
(( n > 5 ))
How to do it
Decimals need bc.
echo 'scale=2;10/3' | bc
Example
Exit code in $?.
echo $?