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"

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git