File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
1010For a steady stream of TILs from a variety of rocketeers, checkout
1111[ til.hashrocket.com] ( https://til.hashrocket.com/ ) .
1212
13- _ 787 TILs and counting..._
13+ _ 788 TILs and counting..._
1414
1515---
1616
@@ -686,6 +686,7 @@ _787 TILs and counting..._
686686
687687- [ All The Environment Variables] ( unix/all-the-environment-variables.md )
688688- [ Cat A File With Line Numbers] ( unix/cat-a-file-with-line-numbers.md )
689+ - [ Cat Files With Color Using Bat] ( unix/cat-files-with-color-using-bat.md )
689690- [ Change Default Shell For A User] ( unix/change-default-shell-for-a-user.md )
690691- [ Change To That New Directory] ( unix/change-to-that-new-directory.md )
691692- [ Check If A Port Is In Use] ( unix/check-if-a-port-is-in-use.md )
Original file line number Diff line number Diff line change 1+ # Cat Files With Color Using Bat
2+
3+ The time-tested utility ` cat ` is probably one of the most used unix
4+ commands. It prints the contents of the file to stdout. You can use it to
5+ get a quick view of a file.
6+
7+ ![ example of cat] ( https://i.imgur.com/kb1UjPW.png )
8+
9+ We live in a world of color and our terminal emulators are capable of so
10+ much more. There is an alternative to ` cat ` , called ` bat ` , that provides
11+ syntax highlighting based on the type of file.
12+
13+ ![ example of bat] ( https://i.imgur.com/ieL7v2Q.png )
14+
15+ This is an open-source utility written in Rust. You can check it out on
16+ [ github] ( https://github.com/sharkdp/bat ) .
You can’t perform that action at this time.
0 commit comments