how to split text or csv file(100 thousand) into csv files ( each one contains 10k ) based on the lines count?

dil*_*eep 1 unix shell

how to split text or csv file (100 thousand) into csv files (each one contains 10k lines ) based on the lines count ? Using UNIX script.

Grz*_*Żur 5

Execute this command

split -l 10000 big.csv
Run Code Online (Sandbox Code Playgroud)

split是coreutils包的一部分,因此可以广泛使用