Skip to content

Instantly share code, notes, and snippets.

@tnibert
Created August 22, 2022 00:10
shell tricks
# 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