All pastes #361537 Raw Edit

Untitled

public text v1 · immutable
·published 2007-02-18 05:46 UTC
rendered paste body
#!/bin/sh

DUMMY=/tmp/dummy$$

while true
do
  touch $DUMMY
  sleep 3
  [ `find /var/log -name secure -newer $DUMMY` ] && echo "yeah"
done

rm $DUMMY