How to colorize diff on the command line?
When I have a diff, how can I colorize it so that it looks good? I want it for the command line, so please no GUI solutions.
Inactive Tutor
answered 08/25/22
RED="\e[31m"
ENDCOLOR="\e[0m"
echo -e "${RED}Red text${ENDCOLOR}"
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.
Inactive Tutor
https://dev.to/ifenna__/adding-colors-to-bash-scripts-48g408/25/22