How to logout or kill a user session in linux

Logout or Kill a user session

To logout or to kill a user session, please execute the below commands

sudo pkill -9 -u
pkill -9 -u 


sudo pkill -9 -u george

Another method,

pkill -KILL -u
sudo pkill -KILL -u 


pkill -KILL -u alan

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.