Khulna - Bangladesh began a long haul to save the first Test after Pakistan ran up a 296-run lead on the fourth day of the first Test in Khulna on Friday.
The tourists took their overnight score of 537 for five to 628 before they were all out shortly before lunch at the Sheikh Abu Naser stadium.
Bangladesh were six for no loss in their second innings at the break with Tamim Iqbal on four and Imrul Kayes on two.
The hosts will need to bat a major part of the remaining five sessions to prevent Pakistan taking the lead in the two-Test series.
The overnight pair of Asad Shafiq (83) and Sarfraz Ahmed (82) carried their sixth-wicket partnership to 126 to build a sizeable lead for Pakistan.
Left-arm spinner Taijul Islam picked up three of the five wickets in the morning session to finish with creditable figures of six for 163.
Debutant fast bowler Mohammad Shahid claimed his first Test wicket when he ended the sixth-wicket stand by having Sarfraz caught at mid-on by substitute fielder Litton Das.
Taijul bowled Wahab Riaz for zero in the next over and then trapped Yasir Shah leg-before that gave the 23-year-old his third five-wicket haul in six Tests so far.
Between those two wickets, star all-rounder Shakib Al Hasan claimed his lone success in the innings when he took a return catch to dismiss Shafiq.
Tajiul wrapped up the innings when wicket-keeper Mohammad Mahmudullah, standing in for the injured Mushfiqur Rahim, stumped Zulfiqar Babar.
The second Test begins at the Sher-e-Bangla stadium in Dhaka from May 6.