diff --git a/pages/common/grep.md b/pages/common/grep.md index 1127b43e65..916119b55c 100644 --- a/pages/common/grep.md +++ b/pages/common/grep.md @@ -33,7 +33,7 @@ - Print file names with matches: -`grep -rl {{search_string}} .` +`grep -l {{search_string}} {{path/to/file}}` - Use the standard input instead of a file: