Show only the matches with grep.
使用grep仅显示匹配项。
Auditing You can do grep on querylog.
审计可以对querylog执行grep。
List the files and grep for the inode.
列出文件并使用grep搜索inode。
The grep utilities: A real-world example
grep工具:一个真实的例子
Examples of the former include sort and grep.
前者的例子包括sort和grep。
Next, request the MapReduce job for grep.
接下来,请求用于执行 grep的MapReduce作业。
Which files contained the lines found by grep?
哪个文件包含grep找到行?
XGrep is a grep like utility for XML documents.
XGrep是一种类似于grep的XML文档工具。
To do so, execute ps –ef | grep oninit command.
为此,执行ps –ef |greponinit命令。
You can use grep, awk, Perl, and other solutions.
您可以使用grep、awk、Perl和其他的解决方案。
RPM -qa | grep RSH or RPM -qa | grep openssh.
rpm -qa |grepr sh或rpm - qa | grepopenssh。
With GNU grep, there is no difference in functionality.
使用GNUgrep,功能上没有不同之处。
There are ways to do this with grep, sed, and perl.
可以通过使用 grep、sed和 perl完成此工作。
Using grep in many cases can give you the desired value.
在许多情况下使用grep可以得到需要的值。
The aforementioned grep command would yield two matches.
上述grep命令将生成两个匹配。
If that's the case, we can use grep to filter the results.
如果真是这样的话,我们可以用grep来对结果进行过滤。
If you like grep, you won't find any more AIO servers.
如果您喜欢使用grep,那么您将无法找到更多的AIO服务器。
Verify that the SNMP daemon is running: ps -ef | grep SNMPD.
检查snmp守护进程是否正在运行:ps- ef |grep snmpd。
This command supports most of your favorite GNU grep options.
该命令支持大部分您所喜爱的GNUgrep选项。
Start txt2regex and specify regexps for grep, sed, and emacs.
启动txt2regex并指定构建用于grep、sed和Emacs的regexp。
Listing 2: Find all password files and grep them for Joe.
清单2:查找所有password文件并用grep找出joe。
the command grep -i -E '(\b(of|the)\W+){2,}' test.txt produces
命令grep-i-E'(\b(of|the)\W+){2,}'test.txt将生成
Or better still just grep for the sugroups in the defaults stanza.
更好的方法是使用grep只提取出默认值小节中的sugroup s属性。
The grep utility has other built-in options to refine searches.
grep实用工具包含其他可优化搜索的内置选项。
The files listed when performing the grep are shown in Listing 9.
清单9显示了执行grep后列出的文件。
The grep utility filters input line by line and looks for matches.
grep实用工具逐行过滤输入并寻找匹配。
Run lsdev -c | grep FCS to view all Fibre Channel devices on the system.
运行lsdev—c |grepfcs查看系统中所有FibreChannel设备。
Here are a few examples of regular expressions using grep as the search tool.
以下是一些使用grep作为搜索工具的正则表达式示例。
Just using dmesg | grep is a useful troubleshooting and system discovery tool.
只要使用dmesg |grep,您会发现这是一个有用的故障检修和系统发现工具。
GNU Project Web site: Download a free copy of GNU grep for your operating system.
GNU项目网站:下载用于您的操作系统的免费GNUgrep副本。
应用推荐