grepcidr is usually available from your distribution's default repositories, so on Debian based systems you could install it with:
sudo apt install grepcidr
Example of grepcidr use:
grepcidr 40.10.32.0/22 /var/log/syslog
You can read more about CIDR notation on the Wikipedia page for CIDR
Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.
The HPR Website Design is released to the Public Domain.