Bash Script Array Loop
Bash Script Array Loop . To iterate over items of an array in bash, we can use for loop. Below are my sample code How to use the Arrays in the Bash Shell Script Real Hosting Jedi from realhostingjedi.com Ip_addresses= ( 192.168.0.1 127.0.0.1 192.168.1.1 0.0.0.0 ) still weirds me out to define an array without a comma , between each item. We will first create a bash file with the name forloop.sh. Below are my sample code