File processing
bat
cat alternative with syntax highlighting.
Ubuntu
CentOS
Debian
SUSE
Fedora
RHEL
Arch
Alpine
Verified: 2025-09-22
Syntax
$bat [OPTIONEN] [DATEI]
Examples
$bat file.txt
$bat -l python script.py
Typical use cases
?
Standard usage
bat --help
Note
Improved file display.
Export