CmdID

CmdID / Commands

bat

Print and concatenate files. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Print and concatenate files. A cat clone with syntax highlighting and Git integration.

Pretty print the contents of one or more files to stdout

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

Concatenate several files into the target file

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

Remove decorations and disable paging

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

Highlight a specific line or a range of lines with a different background color

bat --highlight-line 10 path/to/fileIdentify

Show non-printable characters like space, tab, or newline

bat --show-all path/to/fileIdentify

Remove all decorations except line numbers in the output

bat --number path/to/fileIdentify

Syntax highlight a JSON file by explicitly setting the language

bat --language json path/to/file.jsonIdentify

Display all supported languages

bat --list-languagesIdentify