The White Sox first game in July looked like none they played in June.

Hustle was evident. Sound defense was delivered. Clutch at-bats were had.

John Danks was fantastic and Conor Gillaspie and Adam Dunn both homered as the White Sox opened the month with a 5-2 win over the Baltimore Orioles in front of 19,746 at U.S. Cellular Field.

Fresh off their worst month since June 1987, the White Sox looked like the team they were billed to be as they snapped a five-game losing streak. The team’s .296 winning percentage in June, when it won eight of 27 games, was its lowest since the White Sox turned in a 7-21 run 26 years ago.

“We’ve had some tough nights here the last few,” White Sox manager Robin Ventura said before he listed off a slew of positive aspects, including a strong game from shortstop Alexei Ramirez. “That’s stuff that helps you win games.”

Danks’ performance significantly boosted the team’s chances of a victory.

He hit his spots all night. He mixed speeds. Perhaps most important, Danks kept an offense second in the American League in runs scored off the bases.

The left-hander had only one trouble spot in the third inning.

He gave up a solo homer to Brian Roberts to fall behind 1-0 and then allowed consecutive one-out singles. But Danks (2-5) got the Orioles’ third and fourth hitters, J.J. Hardy and Adam Jones to fly out and pop out, respectively.

“Most of the hits were not bad pitches,” catcher Tyler Flowers said. “They jumped early for that inning. … He looked great all night.”