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

Re: Shutdown computer after a specific command has been executed



On Fri, 2013-12-13 at 11:07 +0200, Andrei POPESCU wrote:
> Simple:
> 
> sudo sh -c "apt-get update && apt-get --download-only -y dist-upgrade ; poweroff"
> 
> and do the upgrade the next day, under human supervision.

+1

Perhaps then directly

sudo sh -c "apt-get update ; apt-get --download-only -y dist-upgrade ; poweroff"



Reply to: