How filter a bot

Hello, how filter a bot with this identify is:
Mozilla/5.0 (X11; U; Linux; C -) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) plasma-desktop
Thanks.