#!/bin/sh # Show who is calling me. # This was far too slow using NFS, # the answerphone had cut in after 4 rings before it showed who it was calling. # tail -f /host/isdn/var/log/isdnd.log | grep -i "call from" # So now I've fallen back to running the tail process direct on the gate host. tail -F /var/log/isdnd.log | grep -i "call from" # The following commands all hung, so I need to hack grep to flush # a line at a time. # | cat # | sed -e s/......................// # | grep -v "to my_number" # grep -v is as I want to see only humans, not callers to my data line