I would like to know if you can modify bash to change the color of certain types of links, like UNC or http:// directly when 'echo-ing' the output no matter the command i'm running (using debian, bash)

i've built a shell in C before, it was easy to: if find 'thing*', echo (stuff for color code) + value + rest of the line

how do i do that in bash ?

1 Answer 1


Bash doesn't colour the output of commands; it's a function of your terminal application.

You must log in to answer this question.

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