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