#!/bin/bash f="myfile" for i in $(cat $f) do echo "Print $i" done echo "Echo after done"