#! /bin/bash while read line ; do echo $line sleep 2 done < text.txt