Recent Posts

Nix: List Names Of Files With Matches

less than 1 minute read

I often use grep and ag to search for patterns in a group or directory of files. Generally I am interested in looking at the matching lines themselves. Howev...

Nix: Grep For Multiple Patterns

less than 1 minute read

You can use the -e flag with the grep command to search for a pattern. Additionally, you can use multiple -e flags to search for multiple patterns. For insta...

Nix: Grep For Files Without A Match

less than 1 minute read

The grep command is generally used to find files whose contents match a pattern. With the -L (--files-without-match) flag, grep can be used to find files tha...