1、-v或—invert-match:
2、-i或—ignore-case:
3、-w或—word-regexp:
4、-n或—line-number:
5、-E或—extended-regexp:
6、-B或—before-context:
7、-l或—files-with-matches:
8、-c或—count:
9、—color=auto:
10、-r或—recursive:
11、-C或—context:
12、-A或—after-context:
2024-04-22 12:24:02
1、-v或—invert-match:
2、-i或—ignore-case:
3、-w或—word-regexp:
4、-n或—line-number:
5、-E或—extended-regexp:
6、-B或—before-context:
7、-l或—files-with-matches:
8、-c或—count:
9、—color=auto:
10、-r或—recursive:
11、-C或—context:
12、-A或—after-context:
下一篇:shell 脚本基础练习