Ubuntu 16.04 - Set Terminal Title

It's extremely useful to be able to name your terminals when you are juggling a lot of them as shown below with the title "hello world":

In ubuntu 14.04 you could set a shortcut key, but it looks like you can't do that anymore is 16.04. Luckily, someone posted a solution on Ask Ubuntu.

Simply edit your $HOME/.bashrc file and add the following function:


Now whenever you want to set the title of your terminal, just enter something like:

set-title "my awesome terminal title"



Stuart is a software developer with a passion for Linux and open source projects.

comments powered by Disqus
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites. More info.