This is an old revision of the document!
for i in `cat file_with_the_names_each_one_in_a_different_line`; do echo $i ; done
This actually prints the names of the files to process
for i in `ls -1 *.pdb`; do echo $i ; done
for i in `seq 1 5`; do echo “This is the iteration $i” ; done
One-liners also work for scripts but, if you need to make the structure clear:
for i in `ls -1 *.pdb`; do