Created
August 10, 2012 22:58
-
-
Save mlevans/3318783 to your computer and use it in GitHub Desktop.
Get a chunk of 100,000 lines from a text file (from line 500000)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
head -n 500000 larger_file.txt | tail -n 100000 > smaller_file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment