1

Log number of keyboard hits

view story
linux-howto

http://unix.stackexchange.com – How can I log a keyboard hit via shell script? My aim is to log the number of keyboard hits of a login session on my Ubuntu system. Note: I do not want to log the keystrokes itself, only the number of hits. So in the end it says: 94853 hits today. (HowTos)