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"
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #increment #variable #bash
ADD COMMENT
Topic
Name
7+7 =