bat

Print and concatenate files. A cat clone with syntax highlighting and Git integration. More information: https://github.com/sharkdp/bat.

bat path/to/file1 path/to/file2 ...

bat path/to/file1 path/to/file2 ... > path/to/target_file

bat --style plain --pager never path/to/file

bat --highlight-line|-H 10|5:10|:10|10:|10:+5 path/to/file

bat --show-all|-A path/to/file

bat --number|-n path/to/file

bat --language|-l json path/to/file.json

bat --list-languages|-L