# leafpad /root/.bashrc
-): Go to line 39 and uncomment it, thus:
force_color_prompt=yes
-): Go to line 53 and where it has 01;32m, (for example), change it to a colour that suits you.
As an example, for a red coloured root:# prompt, [01;31m\], you will need to change the code [01;XXm\] in 3 places within the syntax:
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[01;31m\]:\[\033[01;31m\]\w\[\033[00m\]\$ '
for: root:#
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u\[\033[01;31m\]:\[\033[00m\]\[\033[00m\]\$ '
-): The new look will only appear in new terminal sessions.
-): colors:
(the syntax is 00;XX)
[00;30] Black
[00;31] Red
[00;32] Green
[00;33] Yellow
[00;34] Blue
[00;35] Magenta
[00;36] Cyan
[00;37] White
-): [Replace [00;XX] with [01;XX] to get a colour variation].