Skip to content

rg (ripgrep)

list filename(s) only

checks the contents of the folders/files, but only returns the matching filename(s):

rg -l <your search pattern>

search in ignored and hidden files

rg skips over files in some hidden folders and looks at ignore definitions such as .gitignore, to force rg to search everywhere:

rg --no-ignore --hidden <your pattern>

to ignore all filters, use:

rg -uuu