I'm trying to change the color of "[shark@Archshark ~]$" to blue in the terminal but It seems that I can't change it, please help.

enter image description here

  • Can you post what you did already, how did you try to change it and where?
    – Bart
    Dec 22, 2021 at 12:49
  • So far, I have changed nothing. I tried to change it through the color in the preferences menu but it didn't work, I thought it was the bold color option so I changed that but it still didn't change it
    – Sharkpause
    Dec 22, 2021 at 12:54
  • see my response below :)
    – Bart
    Dec 22, 2021 at 12:59
  • 1
    Thank you! It changed!
    – Sharkpause
    Dec 22, 2021 at 13:01

1 Answer 1


The prompt colour is governed by your shell configuration files. Assuming you use Bash, you can change the propmt colours in .bashrc or .bash_profile files in your home directory. I believe, judging by your prompt, you use Arch Linux, so you may find some information on prompt colours here.

For other common shells, look here.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .