So much for the Hawks getting a win in Boston.

Despite missing Kevin Garnett, a thorn in the side of the Hawks, the Celtics rolled to a 118-107 victory Friday night at TD Garden. The Celtics didn’t need Garnett. They had Jeff Green, Jason Terry and Shavlik Randolph.

Green finished with a game-high 27 points in the win, the second straight for the Celtics after a five-game losing streak. Terry added 24 points, including five 3-pointers, and Randolph had 13 rebounds. Paul Pierce finished with a triple-double of 20 points, 10 rebounds and 10 assists.

The Hawks (40-33) have alternated wins and losses for the past seven games. They now lead the Celtics (38-34) by just 1-1/2 games for the sixth spot in the Eastern Conference standings.

“This was a game, going in, where one thing we needed to do was defend off the dribble,” coach Larry Drew said. “We did not do a good job with that. They pose a problem for us because they have guys are really good one-on-one players, particularly Paul Pierce and Jeff Green. They are just good at what they do. We tried a couple of things to try to take them out of their rhythm. It had no effect.”

Josh Smith had 18 points for the Hawks on 7 of 23 shooting, including 1 of 5 from 3-point range. Jeff Teague had 17 points.