I'll say it...cussing makes me feel better. Sometimes, that's the only way I can relieve immediate stress. However, I don't do it in front of the kids. It's rare that I cuss at all, but if I do, I make sure they are not in ear shot. "Mommy needs a time out." And I go outside or something and let it rip. I come back, decompressed and ready to handle things sanely.
It's perfectly natural to yell when you get mad. It's important to learn other ways of handling this compulsive behavior. I'm working on it myself. I get a lot of mileage from the phrase, "Please, I don't want to yell" or "Please don't make me yell at you" when the kids are misbehaving. It helps give them a red flag before things erupt and verbalizing where my head is at, keeps me in check.
You've heard of the "Count to 10" theory? Have him try it.
You mentioned that you don't want your boys learning these ways. Maybe mention that to your husband. How would he feel seeing his reflection mirrored by his boys? How would he react to hearing himself through their mouths? Ask if that would make him proud.
I hope things get better for your family. Just remember, time outs aren't just for kids any more!
lb