Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Set the title of an xterm or rxvt window

This snippet of shell code will set the title bar text of an xterm, rxvt, or possibly other terminal programs:

printf \\033]0\;\%s\\007 "$title"


...where $title is the title text.
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS