logoalt Hacker News

pnutjamyesterday at 12:40 PM0 repliesview on HN

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)