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