On Tuesday 11 June 2002 9:38 pm, Tony Earnshaw wrote: > tir, 2002-06-11 kl. 14:53 skrev Antony Stone:
> > ping $IP -c1 >/dev/null 2>&1 > > grep $IP /proc/net/arp | tr -s ' ' | cut -d' ' -f4 > > > > (There's a single space in between each of those pairs of ' ', in case > > it's not obvious.) > > Did you say 'arp -a'? I would have done, if I knew I was root, but the commands I suggested work for an unprivileged user too :-) Antony
