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

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...