Shutdown linux after a time period

I often go to sleep playing a web stream so i just open a terminal window & run

sleep 3600 && init 0

This says wait 3600 seconds & then run init 0 (shutdown)

No more wasted electricity

Advertisements