tools:grep
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:grep [2024/09/28 03:02] – [More Command Flags] Humphrey Boa-Gart | tools:grep [2026/03/31 12:23] (current) – [External Links] Humphrey Boa-Gart | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| ==== Search Files in Current Directory ==== | ==== Search Files in Current Directory ==== | ||
| - | You can also use '' | + | You can also use '' |
| $ grep “INSERTSTRING” * | $ grep “INSERTSTRING” * | ||
| Line 35: | Line 35: | ||
| $ grep “INSERT*” *.txt | $ grep “INSERT*” *.txt | ||
| - | The '' | + | The '' |
| $ grep -R " | $ grep -R " | ||
| - | You can combine flags as well. To search your PWD and all child directories recursively for all //.txt// files containing // | + | You can combine flags as well. To search your pwd and all child directories recursively for all //.txt// files containing // |
| $ grep -Rn " | $ grep -Rn " | ||
| Line 63: | Line 63: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | * '' | ||
| * '' | * '' | ||
| ===== Variations ===== | ===== Variations ===== | ||
| Line 76: | Line 77: | ||
| The DOS, OS/2 and Windows platforms provide the '' | The DOS, OS/2 and Windows platforms provide the '' | ||
| - | ===== External Links ===== | + | ===== Further Reading |
| - | [[https:// | + | * [[https:// |
| + | * [[rfc> | ||
| {{tag> | {{tag> | ||
tools/grep.1727492521.txt.gz · Last modified: (external edit)
Find this page online at: https://bestpoint.institute/tools/grep
Find this page online at: https://bestpoint.institute/tools/grep
Copyright 2026 Best Point Holdings Limited




