FG

Window Title in Bash

Fresh3 days ago
Mar 15, 202628481 views
Confidence Score0%
0%

Problem

How can I set the window title in Bash? I do know that in Windows Batch it is TITLE.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Window Title in Bash

Low Risk

Here is a nice function to do it: Put that in your ~/.bashrc, then type "title whatever" to set the title. If you want to get rid of the hostname, remove "(on $HOSTNAME)". Edit: make sure to (aka ) before trying, of course. Source link.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment