bat
We normally use the cat
command to display the content of a file on the terminal. The bat
command does the same thing, but in a better-looking and more organised fashion, with syntax highlighting. Check below for the different outputs:
sh
bat text.md
sh
cat text.md
The official repo can be found here.