This question already has an answer here:
- less command and syntax highlighting 4 answers
Like the title says - is coloring an output possible using cat or similar command?
Let say I have some php or bash script or other. I don't need to edit the file, just to view the source.
So cat filename
does the job.
But, is it possible to colorize an output making it easier to read, like you can do with vim
syntax:on
mode?