DEV Community

Cover image for TIL that how to change terminal title
kambala yashwanth
kambala yashwanth

Posted on

TIL that how to change terminal title

What I Learned

Being a dev I mostly rely on terminal running react and multiple springboot jars and mongodb in side by side .

1) open ~./bashrc file and Add this at the end of the file

termtitle() { PROMPT_COMMAND='echo -ne "\033]0; '$1' \007"'; }

2) Applying changes

source ~/.bashrc

3) Change Terminal title

termtitle "my title"

Latest comments (0)