..combine is really practical for comparing stuff. You need to pass in the names of two text files and a logical operator: and, not, or, or xor (exclusive or).
As an example, I created two text files with IP addresses and networks. Some of the addresses and networks are included in both files, while others are not. Now I let combine compare the files, first with the and operator:
# combine iplist-a.text and iplist-b.text
REF: http://www.linux-magazine.com/Issues/2019/219/Hot-Stuff
沒有留言:
張貼留言