The Arp:arp cache contains one or more tables that are used to store IP addresses and their resolved MAC addresses
Extract IP information and mac information for all BOUND0
Arp-n-I. BOND0 | awk ' $5== ' bond0 ' {print $1,$3} '
SED: Used to pass text inside a document or string through a series of editing commands
Print out a single line of data from/SCRIPT/IP
Sed-n ' 1p '/script/ip
Iptables: is an IP packet filtering system integrated with the latest version 3.5 Linux kernel
Iptables-t filter– (...)//filter packet filter Table
Iptables-t nat– (...)//NAT Packet Conversion table
Iptables-t mangle– (...)//mangle Specify Process packet table
Crontab: Used to set the periodic executed instruction, which reads the instruction from the standard input device and stores it in the "crontab" file for later reading and execution.
Edit a Scheduled Task list
Vi/etc/crontab
Execute xxx every Minute
*/1 * * * * XXX
2:20 every day to perform XXX
2 * * * XXX
In December, every 20 minutes in the morning from 6 to 12, XXX is executed.
*/20 6-12 * XXX
Monday to Friday daily 5:00 execute xxx
0 * * 1-5 XXX
Memorandum of Order of Unix/linux