====== The Silver Searcher - ag ======
* https://github.com/ggreer/the_silver_searcher
* https://geoff.greer.fm/ag/
* 코드 검색 도구.
* [[:vim|Vim]]과 통합 가능 - [[vim:ag|vim ag plugin]]
===== 설치 =====
sudo pacman -S the_silver_searcher # arch linux
sudo apt install silversearcher-ag # ubuntu
===== 실행 =====
* [[https://blog.dnsimple.com/2017/07/ag-a-better-unix-search-tool/|The Silver Searcher, a better UNIX search tool - DNSimple Blog]]
Usage: ag [FILE-TYPE] [OPTIONS] PATTERN [PATH]
# 확장자 검색
ag -G .java "검색할텍스트"