88
rated 0 times
[
88]
[
0]
/ answers: 1 / hits: 269678
/ 2 Years ago, sat, june 4, 2022, 6:09:01
How can I get the bash to look colored like this?
More From » command-line
How can I get the bash to look colored like this?
I came up with this solution:
copy this and add it at the end of .bashrc file:
PS1='[033[1;36m]u[033[1;31m]@[033[1;32m]h:[033[1;35m]w[033[1;31m]$[033[0m] '
save the file and restart bashrc:
source ~/.bashrc
For a full list of available colors and further options look up these links: