for each file bash code example Example: for each line in file bash while read p; do echo "$p" done <peptides.txt