Last Updated: February 25, 2016
·
431
· joshbuhler

Name tabs in Terminal.app

If you're working on a few different things in Terminal.app, it's likely that you have more than a few tabs open. To help keep things organized, just add the following function to your .bash_profile (assuming you're using Bash.)

tabname () {
    echo -e "\033];$1\007";
}

Once you restart Terminal, or open a new tab, you'll be able to use this like so: tabname "<newtabname>". Do that, and you'll be able to give more useful names to each tab.

Picture