Last active
August 29, 2015 14:11
-
-
Save peterkappus/4c9d82b7fb608b24db92 to your computer and use it in GitHub Desktop.
Simple command line logger/todo adder
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
#handy bash functions to easily add things to text files | |
#todo list | |
td() { echo $@ >> /path/to/your/todo.txt; } | |
#log (with date time stamp) | |
log() { echo $(date) $@ >> /path/to/your/log.txt;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment