Files
snipplets.dev/code/Bash/string_array.sh
T
2024-07-31 00:34:51 +03:00

8 lines
97 B
Bash
Executable File

#!/bin/bash
myArray=("cat" "dog" "mouse" "frog")
for str in ${myArray[@]}; do
echo $str
done