how to logout current user in cent os using cmd code example Example: force-logout user linux pkill -KILL -u {username}