The grep command is a command used in Unix like systems to search. When paired with the cat command, you can search a text file for any text string. However, you might have to do a few things to find exactly what you are looking for….
Some flie splitting
So, you have a large file… now what? Well, I did say a few things you can do to find specific things, but what if you want lines around the specific stuff you found……
Huge Log Files, part 2
Huge log files won’t go away and since my last posting, I found a few different ways to get through them, some of which are better solutions than what I posted before….
Huge log files
Usually, you retrieve a huge log file and search through it, making selections so that you can get useful data out of it. This is done by searching the file for all occurrences of something and moving that information to another file, of which is smaller, and repeating as needed. However, this doesn’t seem to…