I want to change the colour of a specific letter in my username being displayed by PS1 in bash.
Eg: If my \u
is rahul
, I would like the letter h
to be in blue colour and rest to be white.
I do know that \u
refers to username and adding a colour to an entire 'entity' is done by adding tags like: [\033[38;5;15m\]
.
If it's possible, can I please know how to do the same.
Home
/
user-707434
Rahul Bharadwaj's questions
I am trying to dual boot my laptop with Ubuntu 14.04 alongside Windows 10. But, when I press "install ubuntu " or "try Ubuntu without installing" option on my laptop, from a live Usb, the Ubuntu loading screen with those dots pops up, and suddenly the system restarts, not even entering the setup.
My laptop: Dell Inspiron 3543 Processor: Inter Core i5 5th gen GPU: Nvidia 820m Current OS: Windows 10 8gb Ram