Wednesday, 11 March 2009

list - continuous file cat

#!/bin/bash
# Display the file provided as filename, every second.
while [ 1 ]
do
clear
cat $1
sleep 1
done

No comments:

Post a Comment