split
Split a file into pieces. More information: https://keith.github.io/xcode-man-pages/split.1.html.
split -l 10 {{path/to/file}}
regex
. The matching line will be the first line of the next output file:split -p {{cat|^[dh]og}} {{path/to/file}}
split -b 512 {{path/to/file}}
split -n 5 {{path/to/file}}