I want to use linux command lines to split a file into several files which will have different lines. How can I make it?
E.g. Suppose a file with 1000 lines, how can I split first 600 lines into file1, and remaining 400 lines into file2? I know split can split a big file by same lines, but I don't know wheather I can still use it here.
I'll highly appreciated If anyone could help me. Thanks!!