how to set the Terminal Name on the top

Nice way to separate between your terminals by it’s name not IP Address.

 

the default way, when you open SSH Terminal using Putty (or any other Communication program like kitty) The IP Address of the server
will be shown on the top of the terminal like the following Image:

 

 

All of us agreed that the numbers are difficult than the Name, so what’s your opinion if we write the name of the server on the Top of the terminal
like the following Image :

 

TERMINAL NAME

 

to do that, just write the following line on “/etc/profile” to appear to all users or on your Home Directory Profile “$HOME/.profile” to be shown with you only.

 

echo "\033]0;VIO\007"

 

and religion again to the server and see the difference.

 

you can change word “VIO” by anything you want

This entry was posted in Shell Script and tagged , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.