Created
August 22, 2022 00:10
-
-
Save tnibert/9fb6c8dfe59ab45f4cbd724cdb63f13b to your computer and use it in GitHub Desktop.
shell tricks
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
# get all lines between two timestamps in a log | |
sed -n '/2012-08-20 11:34/,/2012-08-22 16:34/p' file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment