rg
Verified for current stable LTS
Rg Commands
Rg command syntax with verified terminal examples.
Commands
8 commands for Rg
rg Search
Rg Command: Include Hidden Files And Ignore List
rg -. --no-ignore <pattern> rg Search
Rg Command: Only List Matched Files
rg -l <pattern> rg Search
Rg Command: Recursively List Filenames Matching Pattern
rg --files | rg <pattern> rg Search
Rg Command: Recursively Search Pattern Current Directory
rg <pattern> rg Search
Rg Command: Recursively Search Pattern In File Or Directory
rg <pattern> <path/to/file_or_directory> rg Search
Rg Command: Search Files By Glob Pattern
rg <pattern> -g <filename_glob_pattern> rg Search
Rg Command: Search Literal String Pattern
rg -F -- <string> rg Search
Rg Command: Show Lines Not Matching Pattern
rg -v <pattern> Suggest a Rg Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Rg workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.