DEV Community

Cover image for Better "cat" Linux Utility Alternative
Muhammad Furqan
Muhammad Furqan

Posted on

Better "cat" Linux Utility Alternative

If you're a Linux user, you might be looking for an alternative to the "cat" command that you use to view file contents in your terminal.

In that case, you might want to check out the "bat" utility instead. Unlike "cat," "bat" not only shows you the contents of a file but also highlights syntax and adds line numbers for better readability. Additionally, "bat" offers a range of customization options to help you personalize your output.

Give it a try, and you'll see how it can elevate your command line experience. You might find that once you switch to "bat," you won't want to go back to plain old "cat" again!

Top comments (2)

Collapse
 
connor-ve profile image
Connor Van Etten

Thank you for sharing this with us! For someone who spends a ton of there time working inside the terminal this adds another layer of customize to make your CLI feel unique! I figured I would link the github page for it for anyone interested!

Bat- a cat clone with wings

Collapse
 
ccoveille profile image
Christophe Colombier

Bat is cool

github.com/sharkdp/bat

There is also moar

github.com/walles/moar