DOKK / manpages / debian 11 / gnome-session-bin / gnome-session-quit.1.en
GNOME-SESSION-QUIT(1) General Commands Manual GNOME-SESSION-QUIT(1)

gnome-session-quit - End the current GNOME session

gnome-session-quit [--logout|--power-off|--reboot] [--force] [--no-prompt]

The gnome-session-quit program can be used to end a GNOME session.

The following options are supported:

Prompt the user to confirm logout. This is the default behavior.
Prompt the user to confirm system power off.
Prompt the user to confirm system reboot.
Ignore any inhibitors.
End the session without user interaction. This only works with --logout.

If you find bugs in the gnome-session-quit program, please report these on https://bugzilla.gnome.org.

gnome-session(1)

GNOME