Roni Laukkarinen<p>A while back I was super tired and had too many command line windows open. I typed in the wrong command on the wrong server. This caused system being partly broken, because I accidentally upgraded a held-back package. Eventually got it fixed by recompiling that certain package, but it contained a module compiled by an external party, so had to wait and not restart any services for 24 hours.</p><p>Happens to all of us sometimes.</p><p>However, what I learned is I should finally really change the color of each prompt for every single server I have. I have dozens of them. I'm lazy that way, I just customize my local prompt but rarely do it on production servers, despite how easy it is.</p><p>For Mastodon my prompt is deep purple, like it should.</p><p>```bash<br>PS1="\[\e[38;5;141m\]\u@\h:\w\$ \[\e[0m\]"<br>```</p><p>Here are my other prompts, feel free to use these colors in your .bashrc:</p><p>```bash<br>PS1="\[\e[38;5;99m\]\u@\h:\w\$ \[\e[0m\]" # Light Purple<br>PS1="\[\e[38;5;141m\]\u@\h:\w\$ \[\e[0m\]" # Pastel Purple<br>PS1="\[\e[38;5;183m\]\u@\h:\w\$ \[\e[0m\]" # Lavender<br>PS1="\[\e[38;5;217m\]\u@\h:\w\$ \[\e[0m\]" # Light Pink<br>PS1="\[\e[38;5;216m\]\u@\h:\w\$ \[\e[0m\]" # Peach<br>PS1="\[\e[38;5;117m\]\u@\h:\w\$ \[\e[0m\]" # Sky Blue<br>PS1="\[\e[38;5;159m\]\u@\h:\w\$ \[\e[0m\]" # Soft Cyan<br>PS1="\[\e[38;5;121m\]\u@\h:\w\$ \[\e[0m\]" # Mint Green<br>PS1="\[\e[38;5;229m\]\u@\h:\w\$ \[\e[0m\]" # Soft Yellow<br>PS1="\[\e[38;5;210m\]\u@\h:\w\$ \[\e[0m\]" # Light Coral<br>```</p><p><a href="https://mementomori.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://mementomori.social/tags/SysOps" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SysOps</span></a> <a href="https://mementomori.social/tags/SysAdmin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SysAdmin</span></a> <a href="https://mementomori.social/tags/Server" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Server</span></a></p>