This article will guide you on how you can log out from your Debian 10 system.
Here, you will learn the different methods of logging out of a #Debian system.
exit command in #linux is used to exit the shell where it is currently running.
It takes one more parameter as [N] and exits the shell with a return of status N.
If n is not provided, then it simply returns the status of last #command that is executed. Syntax: exit [n].
pkill is a command-line utility that sends signals to the processes of a running program based on given criteria.
The processes can be specified by their full or partial names, a user running the process, or other attributes.
https://linuxapt.com/blog/82-how-to-log-out-of-debian-10