How to do math on the command line

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the bash category.

Last Updated: 2024-03-05

Here's a very brief comparison of ways to do command line calculation :