split file by \n code example
Example: linux shard a file into smaller files
#split mybigfile.txt into smaller 500mb files
split --bytes 500M --numeric-suffixes --suffix-length=3 mybigfile.txt mysmallfiles.
#split mybigfile.txt into smaller 500mb files
split --bytes 500M --numeric-suffixes --suffix-length=3 mybigfile.txt mysmallfiles.