12-14-2009
50,
0
Join Date: Mar 2008
Last Activity: 25 June 2019, 6:15 AM EDT
Posts: 50
Thanks Given: 8
Thanked 0 Times in 0 Posts
Help with color combinations
Hi Team
when i do, echo on my host box it returns (see below)
[root@LAB-A ~]# echo $PS1
[\u@\h \W]\$
I need to set a color comination of my own
for \u means for user : red
for \h means for hostname: blue
for \W means present working directory: pink
for $ means for wht prompt : yellow
Do i need to do a work around in /etc/DIR_COLORS file or do i need to edit on my /etc/bashrc file.
Please guide me to my desired result!
regards
Whizkidash