bat command shows you the contents of a text file with syntax highlighting. For most common scripting and programming languages, it means you'll see a much more readable colour coded text.
bat is a relatively recent command, mostly found in Linux and modern Unix distros.
bat command syntax
The syntax of bat command is the same as that of cat command, but there are additional command line options.