Fists vs. Hugs

When did hitting fists together become the prominent way of greeting between guys? I know subcultures have been doing it for a while now, but it is now mainstream.
I’ve also read two different articles about how American males are discovering another way of greeting – hugs!
So, fist hitting or hugging, which is it, and will it replace the good ole’ shaking of hands?