LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Divide a big file into small pieces, each has same number of lines (https://www.linuxquestions.org/questions/linux-software-2/divide-a-big-file-into-small-pieces-each-has-same-number-of-lines-762459/)

Kunsheng 10-16-2009 04:01 PM

Divide a big file into small pieces, each has same number of lines
 
I am wondering if there is some command (sed ?) that could do divide a big text file into small pieces, each of which contains 10 lines.

Any idea is well appreciated,

-Thanks,

-Kun

jlliagre 10-16-2009 04:08 PM

Code:

man split


All times are GMT -5. The time now is 09:26 AM.