微信公众号:51码农网
专业编程问答社区
www.51manong.com
1.使用-h参数
[root@ky35z 51mn]# grep -h '[bg]zip' *.txt
gzip
bzip
2.使用参数- -no-filename
[root@ky35z 51mn]# grep --no-filename '[bg]zip' *.txt
gzip
bzip
作者:
在
微信公众号:51码农网
专业编程问答社区
www.51manong.com
1.使用-h参数
[root@ky35z 51mn]# grep -h '[bg]zip' *.txt
gzip
bzip
2.使用参数- -no-filename
[root@ky35z 51mn]# grep --no-filename '[bg]zip' *.txt
gzip
bzip
发表回复