How Do I Logout as Current User in Linux?
Contents How Do I Logout a User in Linux? A) Pkill Command – Kill Processes by Name. B) Kill Command – Terminate or Signal a Process. C) Logout Command –...
Contents
How do I logout a user in Linux?
a) pkill command – Kill processes by name. b) kill command – terminate or signal a process. c) logout command – Logout of a login shell. This command can be used by normal users to end their own session.
Must Read
How do I logout a user in Unix?
Logging out of UNIX may be achieved simply by typing logout, or <ctrl-D> or exit. All three terminate the login shell and , in the former case, the shell performs commands from the . bash_logout file in your home directory.