Now, when you print the file to the console it will be printed with the colors, because Bash interprets those characters as "use this color". catoutput.txt However, if you open it in an editor likevim, you'll get some strange characters. For example, when I use the commands echo"A ...
Now, when you print the file to the console it will be printed with the colors, because Bash interprets those characters as "use this color". catoutput.txt However, if you open it in an editor likevim, you'll get some strange characters. For example, when I use the commands echo"A ...