how to logout of user in linux code example Example: force-logout user linux pkill -KILL -u {username}