Did you try using "gentle" tone to talk to your son about his behavior and temper?
Sometimes when my daughter lose her temper, instead of shouting to her, I advise her and teach her in a gentle tone, she knows gradually and she indeed knows it is not right to do this and that.
May be your boy is 2 years old whereas the trouble 2 problems exist. Don't worry, keep teach him in a positve way. He knows you care about him and he will knows what is right and wrong to do.