https://support.apple.com/en-kg/guide/terminal/trml15228/mac
In Terminal on your Mac, select the information that appears in the title bar of the Terminal window.
the titlein aterminal windowchangeshown
https://www.baeldung.com/linux/run-multiple-bash-scripts-terminal
This article explains how to run different scripts sequentially and also how to stop and resume in foreground and background.
how toin aterminal windowrunmultiple