/usr/share/doc/arpalert/examples/scripts/test/testcharge.sh is in arpalert 2.0.12-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | #!/bin/bash
i="0";
while [ $i -lt $2 ]
do
i=`expr $i + 1`
arp -d $1
ping -c 1 $1
done
|