Created
May 27, 2014 15:10
-
-
Save olimortimer/5938473652dc4c955eb2 to your computer and use it in GitHub Desktop.
Shell: Trim lines from file
This file contains 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
# Save all lines after line number X (1000000), from one file into another | |
tail -n +1000001 error_log > error_log_trimmed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment