Memorandum of Order of Unix/linux

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.