[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shutdown computer after a specific command has been executed



Osamu Aoki writes:
 > But I want one line solution :-)
 > 
 >  sudo sh -c "apt-get update && apt-get upgrade; shutdown -h now"

But there is the case where apt-get want a reply for the user and that
is 'N' :) !! Baka!!! :)

-- 
 /\           ___                                    Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____               African word
  //--\| | \|  |   Integralista GNUslamico            meaning "I can
\/                 coltivatore diretto di software       not install
     già sistemista a tempo (altrui) perso...                Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO


Reply to: