This question already has an answer here:
I have a simple script to print color text in terminal which I've directed to log file too.
#!/bin/bash echo -e "\033[01;32mGreen color" > ~/Desktop/color.log
When I run from terminal cat color.log, it prints with green color but when I open file with gedit it shows as
Is it possible to redirect with color in gedit?