How kill all sessions in Linux?

How kill all sessions in Linux?
Answer
To view list of active ssh sessions, use ‘w’ command.
  1. [
    [email protected]
    ~]# w. 00:34:21 up 48 days, 23:38, 4 users, load average: 0.79, 0.58, 0.56. …
  2. # pkill -9 -t pts/2. To understand the difference between tty and pts, refer the details below: …
  3. # killall -u magesh. 3) How to terminate user session, using Kill command.
28 июл. 2020 г.
 

Tìm kiếm

Back
Top