Thread: Sudo shutdown vs Power Button
what's difference between sudo shutdown command , turning system off via power button or clicking appropriate menu item?
problem this: want turn computer off on timer, useshutdown in 60 minutes 30 sec wait before kills everythingcode:sudo shutdown -p -t 30 60
option still kills programs, causing them improperly save status. power off button never this.
question this:
how shut down computer on timer behaves same way if press power off button
i looked manual page shutdown , not find option -t. looked @ source code (it's part of upstart package) shutdown , -b there, nothing.
so if relying on it, not need do. there might other way of sending signal programs not it.code:... /* compatibility options, ignored */ ... { 't', null, null, null, "secs", null, null }, ...
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] Sudo shutdown vs Power Button
Ubuntu
Comments
Post a Comment