DEV Community

João Vitor
João Vitor

Posted on

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)