Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: