File: broadping.sh

package info (click to toggle)
arpalert 2.0.11-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,412 kB
  • ctags: 517
  • sloc: ansic: 4,372; sh: 500; makefile: 147; 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