@ericmarceau Prompt colors are changed as well but it is very clear to me when I see a particular background color, which system I’m on.
It was simple to do this using different profiles under gnome terminal and even easier under wezTerm.
@ericmarceau Prompt colors are changed as well but it is very clear to me when I see a particular background color, which system I’m on.
It was simple to do this using different profiles under gnome terminal and even easier under wezTerm.
Did the same thing. My Putty sessions for production boxes are always red background with white text. Danger Will Robinson!!! For dev boxes I use blue with white letters. Only problem is the color aliases that slip in and frequently aren’t friendly with these colors. Added a loop in my login profile to unalias any color aliases. for i in $(alias | grep color); do ## parse the alias and issue the unalias.
@nosugrof, if you have a script or setting that set the FG/BG colours, you can store a custom
on each of those hosts, that suits each host uniquely. If you want details on what and how, I had a discussion topic, with an example, here:
That sounds pretty interesting. I’ve often thought the highlights could make life simpler but just never invested the time to figure it out. Quite often the default colors don’t work with my session colors so I’ve always just excluded the color option on commands. I’ll make a point of reading this.
Thanks for sharing!
Very interesting that there is so many references and comments about using rm -rf, particularly in the root directory, /!
It’s actually one of my favorite commands to use, but because of it’s power I use it with care and it’s rarely used.
My favorite memory of using rm -rf / was when I was leaving a company where I had been an engineer for many years. I knew that my workstation would be “re-purposed”, reused, and reinstalled by someone who would get it after me, and we were all in an OS organization anyway, so it’d be no problem install either a release, a nightly build, or whatever the person after me might choose, so it was a safe thing.
Given that such behavior is quite destructive, I wanted to see my workstation, which I had named TheMas, one nickname of my youth, and one implementation of rm even had an argument to show the files being removed, so I added that option and watched the system sink into the darkness, then I brought some of my friends to my favorite food and drink spot and we had a celebration that spanned our years of friendship. One guy a few of you may have heard of - famous in some circles as Jon ‘maddog’ Hall. We first met in Merrimack, NH one afternoon at the popcorn maker and remained friends for many years and chatted about Unix and Linux numerous times!