Skip to main content

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, use
code:
 sudo shutdown -p -t 30 60
shutdown in 60 minutes 30 sec wait before kills everything

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.

code:
...          /* compatibility options, ignored */  ...          { 't', null, null, null, "secs", null, null },  ...
so if relying on it, not need do. there might other way of sending signal programs not it.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] Sudo shutdown vs Power Button


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account