Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

array and for loop bash

myArray=('Apple' 'Banana' 'Orange')
for i in "${myArray[@]}";
do
  echo $i
done
Source by devhints.io #
 
PREVIOUS NEXT
Tagged: #array #loop #bash
ADD COMMENT
Topic
Name
1+2 =