文件名称:linux grep命令
介绍说明--下载内容来自于网络,使用问题请自行百度
linux grep命令
1.作用
Linux系统中grep命令是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹 配的行打印出来。grep全称是Global Regular Expression Print,表示全局正则表达式版本,它的使用权限是所有用户。
2.格式
grep [options]
3.主要参数
[options]主要参数:
-c:只输出匹配行的计数。
-I:不区分大 小写(只适用于单字符)。
-h:查询多文件时不显示文件名。
-l:查询多文件时只输出包含匹配字符的文件名。
-n:显示匹配行及 行号。(Linux grep command
1. effect
The grep command in Linux system is a powerful text search tool. It can use regular expressions to search text and print out matching rows. The full name of grep is Global Regular Expression Print, which represents the version of global regular expression, and its permissions are all users.
2. format
Grep [options]
3. main parameters
[options] main parameters:
- C: only output the count of the matched rows.
I: a case insensitive (only applicable to single character).
H: query file does not display the file name.
L: query file contains only output file name, character.
N: display the matching line and line number.)
1.作用
Linux系统中grep命令是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹 配的行打印出来。grep全称是Global Regular Expression Print,表示全局正则表达式版本,它的使用权限是所有用户。
2.格式
grep [options]
3.主要参数
[options]主要参数:
-c:只输出匹配行的计数。
-I:不区分大 小写(只适用于单字符)。
-h:查询多文件时不显示文件名。
-l:查询多文件时只输出包含匹配字符的文件名。
-n:显示匹配行及 行号。(Linux grep command
1. effect
The grep command in Linux system is a powerful text search tool. It can use regular expressions to search text and print out matching rows. The full name of grep is Global Regular Expression Print, which represents the version of global regular expression, and its permissions are all users.
2. format
Grep [options]
3. main parameters
[options] main parameters:
- C: only output the count of the matched rows.
I: a case insensitive (only applicable to single character).
H: query file does not display the file name.
L: query file contains only output file name, character.
N: display the matching line and line number.)
相关搜索: linux grep命令
(系统自动生成,下载前可以参看下载内容)
下载文件列表
| 文件名 | 大小 | 更新时间 |
|---|---|---|
| linux grep命令.docx | 25014 | 2017-05-01 |
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
