ag
The Silver Searcher. tldr-pages
On several platforms
Several platforms
The Silver Searcher. Like ack, but aims to be faster.
Find files containing string, and print the line matches in context
ag stringIdentifyFind files containing string in a specific directory
ag string path/to/directoryIdentifyFind files containing string, but only list the filenames
ag --files-with-matches stringIdentifyFind files containing STRING case-insensitively, and print only the match, rather than the whole line
ag --ignore-case --only-matching STRINGIdentifyFind string in files with a name matching file_name
ag string --file-search-regex file_nameIdentifyFind files whose contents match a regex
ag '^ca(t'IdentifyFind files with a name matching string
ag --filename-pattern stringIdentify