how to iterate through file linux code example Example: how to iterate through a file linux while read p; do echo "$p" done < example.txt