Bash – Extract many pre-guides from a huge text file

I have a huge text file. I want to extract the first 532541 lines of it and store them in another file. Selecting the text with the mouse and executing ctrl c is obviously not a feasible Solution.

What should I do?

head -n 532541 big-file> first-bit

I have a huge text file. I want to extract the first 532541 lines of it and store them in another file. Selecting the text with the mouse and executing ctrl c is obviously not a feasible solution .

What should I do?

head -n 532541 big-file> first-bit

Leave a Comment

Your email address will not be published.