#!/bin/bash file="2222.txt" # read each line from the file and sleep for 0.6039604 seconds awk '{ system("clear"); print $0; system("sleep 0.6039604") }' "$file"