Answers for "reading each line from file in shell"

11

for each line in file bash

while read p; do
  echo "$p"
done <peptides.txt
Posted by: Guest on March-05-2020
1

Shell read file line by line

while read line; do    
    echo $line    
done < file.txt
Posted by: Guest on October-06-2021

Code answers related to "reading each line from file in shell"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language