4 Easy Fun Useful Things You Can Do With Linux

“When you get a bunch of remote SSH sessions going it’s easy to
lose track of where you really are, because all you see are boring
old generic prompts. Sure, they show the hostnames, but it’s still
easy to get confused. Which can be a bit amusing when you issue a
reboot command to the wrong computer, or send a cranky broadcast
message to all users on the wrong system. An easy way to keep track
is to colorize and customize the Bash prompt on your remote
systems, so you can easily differentiate them from your local
login. You can assign different colors and text for different
machines and accounts. For example, you can make the prompt turn
green and display the text “THIS IS AN SSH SESSION”…”


Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis