For Every Line In File Bash Linux Command Code Example


Example 1: bash for each line of file


while read p; do
echo "$p"
done <peptides.txt

Example 2: for each line in file bash


while read p; do
echo "$p"
done <peptides.txt

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable