GNU/Linux xterm bash 288 views

bat is a good alternative to cat, and has several advantages:

  • bat will syntax highlight your files
  • bat will automatically pipe your files into less, so that you can read them with ease

Part of our compilation of “Ultimate List of unusual but really useful Linux shell commands”, which you can check out here:

https://picockpit.com/raspberry-pi/ultimate-list-of-unusual-but-really-useful-linux-shell-commands/

It also includes installation and usage instructions for this tool.