Take the 2-minute tour ×  I upload youtube videos over night
using a computer running Ubuntu 11.10 as it really eats my
bandwidth. But it's normally done when I'm not around, so it
wastes quite a bit of energy leaving it running. Is there any
way for me to make it shut down after it's finished?
share|improve this question add comment  1 Answer  Instead of
using a browser, you can have a look at uploading via a script -
you can then create another script which invokes the Youtube
Uploader script and then calls the  sudo shutdown -h now
share|improve this answer You should rather run the whole script
as root. If you place a sudo command in the script, it will ask
you probably for your password after uploading the video. – 
lumbric Feb 21 '12 at 14:41 add comment  Your Answer