When we are doing Linux system operation, sometimes there will be a network disconnection but the user does not log out. At this time, you need to use the logout to handle it. The following small series will introduce you to the logout user under Linux. Way, let's get to know it.
often when operating Linux occasionally occur when operating off the network or server in the smart multi-line environment, are often disconnected, but the user login process again, and did not quit.
A simple way to implement a logout operation for a user who has logged in.
The code is as follows:
[root@kiccleaf ~]# who
root pts/1 2014-06-04 12:07 (27.115.*.*)
root pts/2 2014-06-04 13:31 (58.247.*.*)
root pts/3 2014-06-04 13:42 (58.246.*.*)
root pts/4 2014-06-04 13:56 (140.207.*.*)
root pts/5 2014-06-04 14:01 (140.207.*.*)
#End some login users
[root@kiccleaf ~]# pkill -kill -t pts/1
The above is the method for logging out users under Linux. The user who logs in through the who query first uses the pkill command to log out the user. If you encounter a situation where the user cannot log out, try this method.
The Linux system itself is an open source system, so the Linux version is also being improved at any
Ubuntu 64-bit systems sometimes have errors when installing WPS office software. What are the usual
In Linux system operation, if there is too much data in the file, it is very troubl
PyCharm is used for the functions of the general IDE, but many people have errors w
How to use the cat command under Linux?
Linux system safely delete files skills
How to bind CPU process in Ubuntu?
/usr/bin/ld in Linux: Can't find -lxxx What should I do?
Linux df command using instance summary
What if Ubuntu 13.10 can't start VirtualBox?
Linux to create file or directory soft links, hard link skills
Linux rename command file renaming usage summary
Microsoft hardware shows Win10 feelings
Win10 can not play qq speed how to do
A few steps to solve the Vista /Win7 dual system picture confusion problem
How to fix garbled Win7 Notepad?
Common knowledge and frequently asked questions about Win7 sleep and hibernation
Windows8 Mobile Center Connect External Display Settings
Win10 app store error 803f7000 solution
Win8 system's attachment directory and gadgets