read line by line in ShellScript Published by Silveira on 2014-12-03 [bash] #!/bin/sh file="/tmp/myfile" while read line; do echo $line done < "$file" [/bash]