Reputation: 1
In Bash, what would a for _ in _ loop look like if I'm trying to loop through all files in a directory and preform a command on them?
Upvotes: 0
Views: 42
Reputation: 7662
a simple for
for f in dir/*; do echo "Processing $f file.."; done
Upvotes: 0