This example loops over all of the png files in the current directory and calls ls on them.
for i in *.png; do ls $i; done;