Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Increment in Bash

i=12

echo $i

i=$((i+1))

echo $i
Source by linuxtect.com #
 
PREVIOUS NEXT
Tagged: #Increment #Bash
ADD COMMENT
Topic
Name
2+5 =