Hey I am able to run this on the console if i run this separately

run line 1-8
then run lines 9-25
then run lines 26-30
so i think i need to give pauses somewhere
i used to use this when i run the tui on Windows
(cx-pause 2)
i guess this is a GUI command
is there any equivalent command of this in linux? that can run when i pass it in LSF script?