how to kill a user session bash code example Example: kill user sessions in centos7 pkill -KILL -u {username}