Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to show the hostname on the window title ?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How do i bring up the hostname or when i log into a server, the servers hostname as the window title?

sol8va


 
If you are logging in to another server you can use the following:
alias <hostname> 'cmdtool -Wl &quot;<hostname>&quot; rlogin -l <username> <servername> &'
This will give the servername on top of the window instead of terminal. (and when the window is minimised on the desktop it also shows the servername )
 
/usr/openwin/xterm -title &quot;My window&quot; -fg ....... &
for a x term??

or

BANNER=&quot;My system &quot; in /etc/default/telnetd
for telnet
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top