grep

简介

Grep可以在一个或一组文件中找到某些字符模式,绝对是我们最经常用到的linux命令。

命令行参数

Generic Program Information

`—help'

Print a usage message briefly summarizing the command-line options and the bug-reporting address, then exit.

`-V' `—version'

Print the version number of `grep' to the standard output stream. This version number should be included in all bug reports.

Display options

正则表达式

Wiki comments powered by Disqus