This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get arp table cache | |
| arp -n | |
| # Clean arp cache verbose | |
| ip -s -s neigh flush all | |
| # Delete special ip from arp cache | |
| arp -d 192.168.1.1 | |
| # Add static route to arp cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| AMOUNT=5 | |
| WHAT=paras | |
| START=false | |
| while getopts ":n:wpbls" opt; do | |
| case $opt in | |
| n) | |
| AMOUNT=$OPTARG |