Stops all processes on a port.
logout
The logout command terminates all processes either with the same controlling terminal as the present process or with all processes which have this terminal open. Processes that are not children of the present process are terminated upon access to the terminal. The present process is also terminated. If the login command user and the logout command user do not match, the logout command permission is denied, and the command stops.
From a shell started by the ksh or bsh command, enter:
logout
Item | Description |
---|---|
/usr/bin/logout | Contains the logout command. |
/etc/utmp | Contains a record of logged-in users. |