Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

increment variable bash

#Increment varible in bash script
((i++))
((i=i+1))
i=$((i+1))
let "i++"
let "i=i+1"
 
PREVIOUS NEXT
Tagged: #increment #variable #bash
ADD COMMENT
Topic
Name
8+8 =