#!/bin/ksh #Output the fully qualified domain name of every host on the local network #whose ethernet address is not currently in the ARP cache. cd /tmp ~mm64/public_html/x52.9547/src/localhosts.pl 128.122.253.152 26 | awk '{print $2}' | tr '[a-z]' '[A-Z]' | sort > $$.all /usr/sbin/arp -a | awk 'NR >= 5 {print $2}' | tr '[a-z]' '[A-Z]' | sort > $$.incache comm -23 $$.all $$.incache #hosts in $$.all but not in $$.incache rm $$.all $$.incache exit 0