This article will guide you on how to shut down your Debian 10 system properly using different methods.
If you run a desktop environment, there is usually an option to "log out" available from the #application menu that allows you to shutdown (or #reboot) the system.
Alternatively you can press the key combination Ctrl+Alt+Del.
To shut down #Linux:
To shut down the system from a terminal session, sign in or "su" to the "root" account.
Then type ``/sbin/shutdown -r now''. It may take several moments for all processes to be terminated, and then Linux will shut down.