pi7vsa
Last Updated: February 25, 2016
·
583
· markus-perl
10620301 745710515470370 5763874756421604255 o

Linux, Mac - change the terminal title with a script

Save the following lines in a file called title.sh:

echo -ne "\033]0;$@\007" 

and make it executable:

chmod +x title.sh

To change the title simply call

$ ./title.sh “New Title”
Say Thanks
Respond
Filed Under