gnome-session-quit — End the current GNOME session
gnome-session-quit [OPTION...]
-h, --helpPrint help and exit
--logout
Prompt the user to confirm logout. This is the default behavior.
Cannot be combined with --power-off or
--reboot.
--power-off
Prompt the user to confirm system power off. Cannot be combined with
--logout or --reboot.
--reboot
Prompt the user to confirm system reboot. Cannot be combined with
--logout or --power-off.
--forceIgnore any inhibitors.
--no-prompt
End the session without user interaction. This only works with
--logout.