This snippet shows how you can split file by lines in Linux terminal. In this example the file will be splitted by 10 000 lines. If the file is 12500 lines long then you get two files: xaa with 10 000 lines and xab with 2500 lines.
Source code viewer
split -l 10000 file_nameProgramming Language: Bash