Bat Linux command - A cat clone with written in Rust

Originally published at: https://www.cyberciti.biz/open-source/bat-linux-command-a-cat-clone-with-written-in-rust/

bat Linux command in action on my Ubuntu desktop
The cat (short for concatenate) command is one of the most frequently used flexible commands on Linux and Unix-like operating systems. Say hello to bat Linux command, which is a cat command written in Rust programming language. The bat command comes with syntax highlighting, git integration, and works as is a drop-in cat command replacement. Let us see how to install bat on Linux and Unix system for fun and profit.

Debian Linux 10

sudo apt install bat
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: **Unable to locate package bat**
1 Like

Hello @kebikec,

I tested with Debian Linux sid (unstable). So it is not available on Debian Linux 10 (stable).

Also @kebikec , for Debian 10 try downloading package from Github as follows:

$ wget https://github.com/sharkdp/bat/releases/download/v0.15.4/bat_0.15.4_amd64.deb
$ sudo dpkg -i ./bat_0.15.4_amd64.deb
$ bat

HTH


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki