# bat - Syntax Highlighting 되는 cat

> Clean Markdown view of GeekNews topic #1985. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=1985](https://news.hada.io/topic?id=1985)
- GeekNews Markdown: [https://news.hada.io/topic/1985.md](https://news.hada.io/topic/1985.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-04-28T13:06:21+09:00
- Updated: 2020-04-28T13:06:21+09:00
- Original source: [github.com](https://github.com/sharkdp/bat/)
- Points: 10
- Comments: 4

## Topic Body

- 문법강조 되도록 cat 명령어를 확장

- git 연동으로 수정 부분 확인가능 : 왼쪽에 라인번호 및 ~+- 표시

- -A 옵션으로 안보이는 문자들 출력 가능(탭/빈칸/CR/LF/ESC/BS)

- 자동 페이징 지원

- 맥/윈/리눅스 바이너리 및 설치옵션 제공

## Comments



### Comment 1683

- Author: kunggom
- Created: 2020-04-28T17:15:27+09:00
- Points: 1

라즈베리 파이의 우분투 리눅스에 `sudo apt install bat`으로 이걸 설치했는데, 이상하게 `bat` 명령어가 안 먹혀서 잠깐 삽질했네요. 결론부터 말하자면 일부 시스템에서는 이걸 설치했을 때 `batcat`이라는 다른 이름으로 실행해야 합니다. 그래서 alias를 따로 잡아줘야 했네요.

### Comment 1682

- Author: hwaan2
- Created: 2020-04-28T13:37:51+09:00
- Points: 2

https://news.hada.io/topic?id=1891

여기에도 포함되어있습니다!

### Comment 1680

- Author: xguru
- Created: 2020-04-28T13:07:18+09:00
- Points: 1

한번 쓰고 나면 다시는 cat을 안쓰게 됩니다

### Comment 1681

- Author: ohjongin
- Created: 2020-04-28T13:29:13+09:00
- Points: 1
- Parent comment: 1680
- Depth: 1

오~ 쥑이네요... 한번 써보고 cat을 alias로 교체!!
