In Linux, I use $ sudo reboot now. Hope that it works for you. – Biku B. – 2018-02-10T09:44:58.003
Unfortunately, it didn't work, my apps are still reopening :( – Alexander Rodin – 2018-02-10T10:09:46.440
1Close all the apps first from the command-line; then restart. – CJK – 2018-02-12T11:30:30.703
As @CJK mentioned, you could write a wrapper script to first close all open applications, then execute a sudo shutdown -r now. – Scot – 2018-02-14T22:29:00.123
In Linux, I use
$ sudo reboot now
. Hope that it works for you. – Biku B. – 2018-02-10T09:44:58.003Unfortunately, it didn't work, my apps are still reopening :( – Alexander Rodin – 2018-02-10T10:09:46.440
1Close all the apps first from the command-line; then restart. – CJK – 2018-02-12T11:30:30.703
As @CJK mentioned, you could write a wrapper script to first close all open applications, then execute a
sudo shutdown -r now
. – Scot – 2018-02-14T22:29:00.123