Pejman Moghadam / Scripts

ARP Table Refresh

Public domain


#!/bin/bash
for ip in $(arp -an | awk '{print $2}' | sed -e 's,(,,' | sed -e 's,),,'); do
    arp -d $ip
done
arp -an

BY: Pejman Moghadam
TAG: bash, bash-script, arp
DATE: 2007-11-27 00:19:50


Pejman Moghadam / Scripts [ TXT ]