File: broadping.sh

package info (click to toggle)
arpalert 2.0.12-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,584 kB
  • sloc: ansic: 4,456; sh: 517; makefile: 116; perl: 35
file content (8 lines) | stat: -rwxr-xr-x 174 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
#!/bin/bash
# Used for tests:
# clean the arp table and make pings
for addr in $(arp -n | awk '{ print $1 }' | grep -v 'Addre')
do
	arp -d $addr
done
ping -b 255.255.255.255