#!/bin/sh

while true
    do
        stat tmp.txt > /dev/null
        sleep 0.5
    done
exit -1
# tmp.txtは適当なファイル
