I often have to keep multiple ssh sessions open in different terminal windows at the same time and I'd like to have a differen background color to help me visualize to which host I'm connected to: i.e. red when I'm root@live-system. I tried configuring xfce terminal but the setting is not wi
Do you know any terminal emulator that allows me to do that?
I'd prefer something that does not depend on KDE libraries.
Best Answer
I set a different
PS1
for each user, making root red and other users green. Also, I give user, hostname and path a different color to make them distinguishable:See "Bash Prompt HOWTO: Colors", "Bash Prompt HOWTO: Nonprinting Characters" and the "PROMPTING" part of
man bash
on how to do that.