Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash dynamic varibale

#!/bin/bash
for (( i=1; i<=5; i++ ))
do  
   echo yourfile.$((i+70)).txt file_$i
done
 
PREVIOUS NEXT
Tagged: #bash #dynamic #varibale
ADD COMMENT
Topic
Name
9+7 =