Shell Scripting Knowledge Base

Increment variable by 1

Example #1
var=$((var+1))
Example #2
j=$((i + 1))