split large file after line x

By.

min read

My profile

Share this:

after line 100

[code:1:32d5644a60](head -100 > f1.txt; cat > f2.txt) < input.txt[/code:1:32d5644a60]

source: https://superuser.com/questions/624237/split-a-file-into-two-files-at-a-given-line

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *