Created
July 12, 2016 13:42
-
-
Save emilk/49d34b8e7efb79cea8490ce83761de51 to your computer and use it in GitHub Desktop.
Bash script to log what you are doing
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
#!/bin/bash | |
# Log your activity. View with tail log.txt | |
echo $(date +"%Y-%m-%d %H:%M:%S") $@ >> ~/log.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment