Friday, July 13, 2018

command line - Reboot from terminal waiting running apps to quit

Sometimes (~once in a month), my Ubuntu won't wake up from sleep correctly (it just shows black screen instead of asking for password). In these situations I go to first terminal (Ctrl+Alt+F1) and do "sudo reboot now" (or "sudo reboot").


But sudo reboot immediately reboots the system, without waiting firefox to exit.


Is there a way to wait until software will quit nicely, waiting at least 10-20 seconds? Thanks!

No comments:

Post a Comment