I started using Shournal via Github last month after my coworker at the lab mentioned it during lunch. It's been tracking every shell command and file access without me lifting a finger. This is worth a look if you've lost track of what you ran three weeks ago.