Split one file into multiple files.
Split a file of x lines into files with 10 lines by
x
10
split -l 10 filename
Split a file into 10 files each having the same size except for the last file by
split -n 10 filename
Last updated 4 years ago