Green’s Dictionary of Slang

headbang v.

[1970s+] to shake one’s head violently when watching or listening to heavy-metal music; thus headbanging music.