Command LIne Magic (CLIMagic)

Follow @climagic on Twitter or Mastodon.

Support climagic on Patreon and receive access to the CLImagic Supplement series

If you like watching video tutorials, I've made some that are available through the climagic youtube channel.

If you want to chat with us on IRC, check out the new channel on freenode: irc://

If you are learning Unix, then in the spirit of the climagic name, you should check out this ebook: Unix for Beginning Mages by Joe Topjian.

Latest Command

Date: 2022-01-25 18:30:08
Description: No description found

I needed to search for two different internal IPv4 addresses in a DHCP logs. Using \. to match literal dots and also \b to match word boundaries helps avoid mismatches. egrep "\b(172\.16\.5\.2|172\.22\.1\.168)\b" dhcp.log