Monday, October 29, 2007

a simple reminder

Two things today...first, a simple way to determine how much work you are causing your laptop harddrive:

 sudo smartctl -a /dev/sda | grep Load_Cycle_Count

Apparently anything above 600000 means your drive is about to kick the bucket :(

I've always wanted an easy way to pop up a reminder message at some point in the future from the command line on a Linux system. I wonder why it took me so long to find the answer?

 echo "DISPLAY=$DISPLAY zenity --info --text='go home'" | at "5pm"

No comments: