How to Perform Arithmetic in Bash Scripts (Part 17 / 34)
Writing a script to calculate disk usage percentages and send an email alert when a threshold is reached might sound straightforward at first. However, after writing half the script, trying something as simple as result=$a/$b can leave you staring at bash wondering what just happened. No error message. No useful output. Just silence. That exact […]
Read More