Created
October 19, 2022 19:24
-
-
Save harmancode/35060e5c26c420a06342cc0e0f637472 to your computer and use it in GitHub Desktop.
How to Install and Use Silver Searcher on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to Install and Use Silver Searcher on Linux | |
On Debian and Ubuntu, use the following command: | |
sudo apt install silversearcher-ag | |
search term: | |
ag searchterm | |
search phrase: | |
ag \"this is a phrase\" | |
count: | |
ag searchterm | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment