Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 59244

Best Bash Prompt Code

$
0
0

So what PS1 codes do you use use for your VPS? Since I've got a bunch of VPS around the world, I need something to remind me which one I'm in and what system is loaded:

PS1='[\e]0;\w | \u@\h\a][[\e[1;31m]\u@Amsterdam.NL(Cent5.10-32bit) [\e[33m]\W[\e[0m]]# '

Looks like this (pretend there are red and yellow colors...):

[root@Amsterdam.NL(Cent5.10-32bit) ~]#

Any other 'cool' thing you do in yours?


Viewing all articles
Browse latest Browse all 59244

Trending Articles