#!/usr/app/TurboShell/bin/bash
a=17
b=5
echo "17 + 5 = $((a + b))"
echo "17 / 5 = $((a / b)), the rest is $((a % b))"
echo "2 to the power of 10 = $((2 ** 10))"
((a++))
echo "a is now $a"

# Bash counts whole numbers only; awk counts fractions
bytes=8001563222016
awk -v b="$bytes" 'BEGIN { printf "%.1f GiB\n", b / 1024 / 1024 / 1024 }'
echo "in whole GiB: $((bytes / 1024 ** 3))"
