command history is a swift and dirty script formed to show what commands were performed on the day of the command history is run. Its function is to help sysadmins suitably to keep a watchful eye over their users and also to confirm that they aren't inquiring around too much, and is best run from crontab to produce mail output each day.