Using Increment (++) and Decrement (–) Operators in Bash – TecAdmin
Preface Similar to other programming language bash also supports increment and decrement operators. The increment operator ++ increases the value of a variable by one. Similarly, the decrement operator — decreases the value of a variable by one. Pre and Post Increment: When using ++ operator as prefix like: ++var. Then first the value of […]
Continue Reading