Dale Steyn became the second South African bowler to claim 400 test wickets but it was JP Duminy's double strike in the post-lunch session that restricted Bangladesh to 154 for three at tea on the opening day of the second and final test on Thursday.
Bangladesh skipper Mushfiqur Rahim was batting on 42, having raised 68 runs in a growing fourth wicket stand with Mahmudullah (25 not out) after winning the toss and opting to bat at Mirpur's Shere Bangla National Stadium.
In the fifth over of the day, opener Tamim Iqbal (6) slashed at a wide delivery and the edge was pouched by Hashim Amla at first slip as Steyn joined compatriot Shaun Pollock (421) in the 400-wicket club in his 80th test.
On a high after winning the ODI series against the Proteas and holding them to a rain-affected draw in the first test, Bangladesh enjoyed an excellent morning session despite the early loss of Tamim.
Imrul Kayes (30) and Mominul Haque (40) added 69 runs to steady the innings, looking largely unperturbed by the bowling firepower of the world's top-ranked test team.
In a rare moment of discomfort, Mominul received a nasty blow on the helmet as he tried to duck under a short Morne Morkel delivery.
The left-hander soon shrugged it off and hit six boundaries in his fluent knock before Duminy struck two quick blows.
The off-spinner induced an edge from Mominul in the second over and Dane Vilas, making his test debut replacing Quinton de Kock behind the stumps, took his first catch in this format.
Duminy then trapped Imrul leg before in his next over as Bangladesh slumped to 86-3.
The hosts survived another anxious moment when Mahmudullah, then on 18, was adjudged leg before to Steyn but the batsman reviewed the decision and got it overturned after a replay confirmed an inside edge.