10

Possible Duplicate:
How can I display syntax highlighting on a file?

Is there any application like cat, but with color output?

I'd like to view my files with colors like in any IDE's editor.

1
13

There is tool source-highlight.

Alias example:

alias ccat="source-highlight --out-format=esc -o STDOUT -i"
4

I'm a fan of ccze, personally.

1
  • FYI, it's not available in CentOS 8 epel-release. – Akhil Jalagam Sep 1 '20 at 16:05
2

Vim is always a good option. Plus then you can make quick edits as needed.

1

Not the answer you're looking for? Browse other questions tagged or ask your own question.