Answers for "bash dynamic variable name"

0

bash dynamic varibale

#!/bin/bash
for (( i=1; i<=5; i++ ))
do  
   echo yourfile.$((i+70))\.txt file_$i
done
Posted by: Guest on January-21-2021
0

bash dynamic variable name

${!var}	#Just use to use reference value inside another variable ;)
Posted by: Guest on December-08-2020

Code answers related to "bash dynamic variable name"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language