Linux Mastering Development

How to split text files by character count in directory

I would like to divide multiple text files in a directory into many smaller text files by a given word count. For example, I want each file in the directory to be divided into smaller text files of 100 words each. From what I understand, the split command in linux only works by lines not […]