Linux Community by Let's FOSS 🐧
41 subscribers
58 photos
2 videos
4 links
Join Discussion ➡️ @TalkFOSS
Download Telegram
Are you using Green Ubuntu? 😂 @letsfoss
😁3
👆 Example screenshot

Bat command is a good alternative for cat command which comes with lot of extra features

In Ubuntu you can simple install by the below command

sudo apt install bat && mkdir -p ~/.local/bin && ln -s /usr/bin/batcat ~/.local/bin/bat

Once done. Instead of cat filename.txt you can do bat filename.txt

Which shows beautifully with syntax highlighting

You can also do multiple files in the same directory

bat *.txt

Will show all the files with .txt extension

Hope you like it.

@letsfoss