PDA

View Full Version : Linux command to split large file each n lines



Fli
02-02-2014, 08:25 PM
What is the most efficient Linux command which will split huge file each one million lines and for each million will create a new file?

i found this one:
split -d -l 1000000 filename.txt