As I understand it the difference between rude and mean is a matter of intention. With mean being intentional. Linus behavior is frequently explained with him only behaving that way when people deserve it. Making him, or at least his behavior, mean rather than rude.