Loop through an array and run a command on each value
Loops through an array, running a command on each value.
Authored by: Wyatt-StankeBrought to you by Warp, a free terminal reimagined to work like a modern app.
array_name
command
Command
Copy
for i in ${array_name[@]}; do command; done
Tags
Edit in GitHub
Copied