#!/bin/bash

while [ 1 ]
do
 echo "Listing"
 ls -lth /d0/*.dat | head -1
 sleep 1
done

