Ask coding questions

← Back to all posts
How to change the color of text in the terminal using a .sh
JohnS4

I have this code so far in a main.sh file

and I want to have the [email protected]$ to a different color. How can I do that?

Voters
JohnS4
Comments
hotnewtop
Coder100

Add the -e flag:

click here for an easy bash list.
Click here for the full list :)

Bookie0

hi, what language?

JohnS4

node.js, but I a need to change to color of the main.sh file
@Bookie0