DEV Community

João Vitor
João Vitor

Posted on

8 2

bat instead of cat

I replaced my cat in linux with bat.
I'm using this alias in my shell environment.

alias cat='bat --style=plain'
Enter fullscreen mode Exit fullscreen mode

bat gives me syntax highlight, pagination, search in the file being printed and more.

Give it a try.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more