Matt Stenson

This is the personal site of Matt Stenson. I'm a programmer, nerd, mountain biker, skier and outdoors enthusiest. I'll blog about different stuff here. I like open software and privacy focused tools.

Splitting Large Log Files

Reading Time: 1 min

Every so often you run into a log file that doesn’t have a log rotation set up and has grown so large that it is near impossible to open in many editors. Today I ran into one of those files that was 1.5GB. Thankfully there is a handy split utility that can generate chunked text files quickly.

split -b 500m huge-log.log