split

Split one file into multiple files.

General

Split a file of x lines into files with 10 lines by

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