DEV Community

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

Posted on

4 2

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"

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay