bat

bat

TLDR

Print the contents of a file to the standard output

>_ bat [file]
copy

Concatenate several files into the target file

>_ bat [file1] [file2] > [target_file]
copy

Append several files into the target file

>_ bat [file1] [file2] >> [target_file]
copy

Number all output lines

>_ bat -n [file]
copy

Syntax highlight a json file

>_ bat --language json [file.json]
copy

Display all supported languages

>_ bat --list-languages
copy

Copied to clipboard
free 100$ digital ocean credit