June 2017
Beginner
502 pages
11h 26m
English
Well, in this case, we are going to subtract something from the value of the variable with a little caveat: this is a left-associative operation, with the evaluation order from left to right, and this means that we are subtracting the value at the right of the minus sign from the value on the left:
zarrelli:~$ a=20 ; b=5 ; c=$((a-b)) ; echo ${c}15
Read now
Unlock full access