Created
June 6, 2016 21:44
-
-
Save jsidhu/43455f55ee2a651d2540a6b923b342b2 to your computer and use it in GitHub Desktop.
linux: run tail for a limited interval
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
(tail -F named.log & P=$! ; sleep 5; kill -9 $P) | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment