The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Change Console Title
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Change Console Title
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
06-09-2004
zazzybob
Registered Geek
Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Hi, maybe I should have elaborated.
Create a script called, say, set_title.sh
In
vi
, insert this code....
Code:
#!/bin/sh echo "^[]0;$*^G"
The ^[ is produced using the keystroke CTRL-V then ESC
The ^G is produced using the keystroke CTRL-G (on some terminals CTRL-V then CTRL-G)
Then, invoke the code at the prompt with
./set_title.sh My new window title
Cheers
ZB
Last edited by zazzybob; 06-09-2004 at
08:53 AM
..
zazzybob
View Public Profile
Visit zazzybob's homepage!
Find all posts by zazzybob
Find zazzybob's past nominations received
Find zazzybob's present nominations given