Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Introduction to the method of logging off users by Linux

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "the method introduction of Linux logout user". In the daily operation, I believe that many people have doubts about the method introduction of Linux logout user. The editor has consulted all kinds of information and sorted out a simple and easy-to-use operation method. I hope it will be helpful to answer the doubt of "introduction of Linux logout user method". Next, please follow the editor to study!

Often when operating Linux, the network is occasionally cut off or when operating the server in an intelligent multi-line environment, it is often disconnected, but the user login process is there again and does not exit.

A simple way to log out of a user that is already logged in.

The code is as follows:

[root@kiccleaf ~] # who

Root pts/1 2014-06-04 12:07 (27.115.room.*)

Root pts/2 2014-06-04 13:31 (58.247.room.*)

Root pts/3 2014-06-04 13:42 (58.246.room.*)

Root pts/4 2014-06-04 13:56 (140.207.room.*)

Root pts/5 2014-06-04 14:01 (140.207.room.*)

# end some logged-in users

[root@kiccleaf] # pkill-kill-t pts/1

At this point, the study of "introduction to the method of logging out of users by Linux" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report