I figured it out:
let "((b=4*($a-1)))"
1 Like
Thank you for writing such a great tutorial, I canβt wait to share it with my friends!
Great tutorial. Thank you. Two small corrections:
if [ $num_a -lt $num_b ]; then
echo β$num_a is less than $num_b!β
else
echo β$num_a is greater than or equal to $num_b!β
The function definition ends on Line 57after which we have implemented a new for loop on Lines 59 β 61 to execute the newly defined backup function for each user directory supplied as an argument.