It didn’t hurt that R. Lee Ermey was a DI in that time period and the director let Ermey ad-lib his lines to make them sound realistic.
CC
I WAS a DI at Parris Island, and Ermey was spot-on with his role