shell中grep命令脚本实例

admin 2017-03-31 0 次浏览


相关推荐: shell中grep命令  shell脚本grep  shell中grep命令脚本实例  shellgrep-vgrep  shellgrep-e  linuxshellgrep  linuxshell脚本命令  shellgrep命令  shell的grep  shellgrep-n  grepshell  shellgrep  shellgrep-o  shell中的grep命令 

  grep是用来过滤含有特定字符的行, 能使用正则表达式搜索文本, 它在数据中查找一个字符串时, 是以正行为单位进行数据选取的. 接下来是小编为大家收集的linux-shell脚本命令grep命令,欢迎大家阅读:

  linux-shell脚本命令grep命令

  [ 常用选项: ]

  -c:只输出匹配行的计数。

  -i:不区分大小写(只适用于单字符)。

  -n:显示匹配行及行号。

  -s:不显示不存在或无匹配文本的错误信息。

  -v:显示不包含匹配文本的所

请关闭浏览器的畅读模式或者取消屏蔽JavaScript的正常运行,避免出现内容显示不全或者段落错乱。

原网页地址:https://www.rw84.com/xuexila/229803603.html