Husband has anger issues

My husband has always been impatient. He’s just like his Dad and his Dad was terrible. Everyday he gets more and more like him. I’ve brought it up to him in hopes that he would realize he’s becoming like his Dad and would try and change his behavior. He admits he is impatient and gets angered easily. We have a 7 month old son and he’s just learned that he can cough, cry, yell or do pretty much anything to get our attention. So if you just place him in his bouncer or walker he will get bored within 10 minutes and will yell at you until you get him out. My husband gets really annoyed and yells back at him causing him to cry. Sometimes he just tells him to shut up. I hate it. He doesn’t know what he is saying, but one day he will. He understands his tone and when my husband yells, he cries. I feel so bad that my son has to witness that. Especially from a parent, someone he should be able to depend on. I on the other hand am very sweet and loving to our son. I don’t know how to change this. I don’t want my son growing up like my husband did...having to walk on eggshells around his Dad.