how to loop trhough every lin ein a text file p code example Example: bash iterate over lines of a file while read p; do echo "$p" done <peptides.txt