command history is a quick and dirty script created to show what commands were executed on the day command history is run. Its purpose is to help sysadmins conveniently keep a watchful eye over their users to make sure they aren't snooping around too much, and is best run from crontab to produce mail output each day.