Ask coding questions
I have this code so far in a main.sh file
while [ true ]; do
read -p "root@user$ " a
and I want to have the [email protected]$ to a different color. How can I do that?
Add the -e flag:
echo -e "\x1b[33mred text\x1b[0m normal text"
click here for an easy bash list.Click here for the full list :)
hi, what language?
node.js, but I a need to change to color of the main.sh file@Bookie0