[bash] How to use mod operator in bash?