Is there a way using command-line/bash
to safely close down Chromium (running multiple tabs), that will not cause the application to shutdown incorrectly.
Using (for example):
$ pkill -3 chromium
(man signal
shows -3 indicates the signal SIGQUIT)
(which I understand is how the shutdown command would terminate an application)
Causes Chromium to give the following error message when you next start it:
Use
SIGTERM
:or:
the default value is
-15
equal toSIGTERM
.From Wikipedia:
PS:
pkill -3 chromium
was only an illustration of how may a session lost happen.Alternative and equivalent solution to
pkill
, as described by @Ravexina.SIGTERM
is used by default, so-15
is optional.man killall
for usage.