How do I change the hostname color in Linux?
Answer
5 Answers
Answer
5 Answers
- Open the file: gedit ~/. bashrc .
- Look for the line with #force_color_prompt=yes and uncomment (delete the # ).
- Look for the line below if [ “$color_prompt” = yes ]; then that should looks like: PS1=’${debian_chroot:+($debian_chroot)}[33[01;32m]
[email protected]
[33[00m]:[33[01;34m]w[33[00m]$ ‘