split -l 2000 C prefix
will take a file called C and split it into files called prefixaa prefixab prefixac etc., each containing 2000 lines from C. See man split for more details.
In reply to Re: Splitting up lines in a few files
by tirwhan
in thread Splitting up lines in a few files
by echow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |