wiki/运维/操作系统/Linux/笔记/14.文本grep.md
2025-01-02 10:46:09 +08:00

8 lines
163 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

grep文本搜索
-m匹配几次后停止
-v取反
-i 忽略大小写
-n显示匹配到的行号
-c匹配到的次数
-w匹配到整个单词