linux : setting bash prompt in linux to - yellow Bold / red Bold

I would like to set bash prompt for my dev server and prod server.

for dev server I would like to be yellow+bold+ bright.

I tried my best and partly achieved using below settings.
--------- -----------
PS1="\e[1;33m\u : \w> $ \e[m"
------------------------- -------
but I need this color to be more Bright + Yellow.
for your more understanding my required color , please refer the attached file, where few info messages at the top, are displayed in yello+bold+ bright. I wanted that be same for my prompt.

so please advice for
1) how to set PS1 value , yello+BOLD+ bright, shown in the screenshot
2) how to set PS1 value   Red + BOLD + bright,
3)  how to set permanent settings

please advice for the above queries
 
waiting for your reply
C--Users-agori-Desktop-22.png
mac_gAdmin - Oracle Fusion Middleware suiteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Manfred BertlManagerCommented:
Hi,
with 1m, you already set it to be bold, and AFAIK there is no 'more bold'. Because there are only 16 Colors to choose from, you only have that red and that yellow. If you have a graphical Terminal, like gnome-terminal, you can slightly change fonts and colors, if you have text login, you already have whats possible.
for 2): yellow is 33m, red is 91m.
For 3): you add your "export PS1..." to ~/.bashrc and you have your prompt with every login.
0
mac_gAdmin - Oracle Fusion Middleware suiteAuthor Commented:
Thanks for your reply ..
please refer to attached screenshot, what exact yellow colour ( info text messages in terminal)   I am looking for.
same  for RED too

waiting for your advice.
0
gheistCommented:
If you use putty there is no difference between bold and flat font.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

mac_gAdmin - Oracle Fusion Middleware suiteAuthor Commented:
I cant use putty.

having this environment, can you please advice  how can I achieve my objective
0
Manfred BertlManagerCommented:
You could try all different numbers to find out, which number your required color is. Since there is no specific documentation for that from the developers, its the way i would do it.
0
mac_gAdmin - Oracle Fusion Middleware suiteAuthor Commented:
any idea how to increase  font size  for the PS1
0
Manfred BertlManagerCommented:
You only can increase the font size, if your Mobaterm has an option for that. Under "Settings/Configuration/Terminal" you can change Font and Fontsize, as well as the color theme.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mac_gAdmin - Oracle Fusion Middleware suiteAuthor Commented:
it will effect all  screen.

just I need to have effected to PS1
0
mac_gAdmin - Oracle Fusion Middleware suiteAuthor Commented:
I've requested that this question be deleted for the following reason:

not getting satisfactory reply
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.