printf "\e]2;YOUR TITLE GOES HERE\a"
https://unix.stackexchange.com/questions/177572/how-to-rename-terminal-tab-title-in-gnome-terminal
There is an updated version of this post.
printf "\e]2;YOUR TITLE GOES HERE\a"
https://unix.stackexchange.com/questions/177572/how-to-rename-terminal-tab-title-in-gnome-terminal
There is an updated version of this post.