Created
January 18, 2016 10:17
-
-
Save Ketouem/64a0f8e502bf4b87d66a to your computer and use it in GitHub Desktop.
Adding a timestamp on each shell output line.
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
# OSX brew install moreutils | |
# Ubuntu apt-get install moreutils | |
<command> | ts '[%Y-%m-%d %H:%M:%S]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment