Ubuntu – Changing colors in terminal output

colorscommand lineoutput

When i write scripts i want that some lines are colored in output. My questions is not about changing prompt (PS1) but for example how can i change that the output, let us say, "cat /var/run/reboot-required.pkgs" would be in red, for example.

Thx for answers

Best Answer