My shell is /bin/sh, and ayjaycee's suggestion worked, except that the pwd part of the prompt stays the same no matter what directory I'm in. Also, when I su to root, I lose all the PS1 and PS2 changes. Lastly, none of this shows up at all in X sessions. Help?
If you logon to one server and run x-sessions to the others, you can try:
alias <servername> 'cmdtool -Wl "servername" rlogin -l <username> <servername> &' (all on ane line )
This should give you a window with the name of the server on the top.
If you have several windows open at the same time it stops the confusion of which session is in which window.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.