CmdID

CmdID / Commands

ack

A search tool like grep, optimized for developers. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Search for files containing a string or regex in the current directory recursively

ack "search_pattern"Identify

Search for a case-insensitive pattern

ack --ignore-case "search_pattern"Identify

Search for lines matching a pattern, printing only the matched text and not the rest of the line

ack --output '$&' "search_pattern"Identify

Limit search to files of a specific type

ack --type ruby "search_pattern"Identify

Do not search in files of a specific type

ack --type noruby "search_pattern"Identify

Count the total number of matches found

ack --count --no-filename "search_pattern"Identify

Print the file names and the number of matches for each file only

ack --count --files-with-matches "search_pattern"Identify

List all the values that can be used with --type

ack --help-typesIdentify