I want to write a script that loops through 15 strings (array possibly?) Is that possible?
Something like:
for databaseName in listOfNames then # D
This is similar to user2533809's answer, but each file will be executed as a separate command.
#!/bin/bash names="RA RB R C RD" while read -r line; do echo line: "$line" done <<< "$names"