Hacker News new | ask | show | jobs
by pnutjam 119 days ago
I use a daily log system. I just run this bash script to open my log for the day. This opens the same file all day, so I can add stuff, and I know how to find old stuff, it's easy to grep, etc..

    ## create new log file for personal logging

    vi ~/daily_logs/personal_logfile_$(date +%j_%m%d%y)