Set the title of your terminal

If you’re anything like me, you always have multiple terminal tabs open at any given time. As soon as I have 5 or 6 tabs open, it becomes impossible to remember what I have running on each tab.

Here’s a script that will allow you to update the title of a terminal tab and/or window:

# !/bin/bash
title=$1
echo -n -e "\033]0;$title\007"

Copy the script above into /usr/bin/title and give it executable permissions (chomod +x /usr/bin/title). After that, typing title My Title will update the title of your current terminal or tab to the value provided. It works with both ASCII and Unicode characters.

Hope it helps!

Build a stride bot in seconds with glitch

After a few months on beta, Stride's developer API is finally open [to the world](https://blog.stride.com/custom-apps-all-aboard-strides-...… Continue reading

Change email in your commit history

Published on July 16, 2017

Automate your lights with openHAB and Alexa

Published on December 10, 2016