当前位置:网站首页>grep命令用法
grep命令用法
2022-06-30 07:05:00 【weixing100200】
n显示匹配行时,与文件行号一起显示。(显示结果所在的行号)
R递归的读取每个目录下的所有文件,遵循所有符合链接。
i忽略字符大小写的差别
-E 可以传递多个内容,使用|来分割多个pattern ,以此实现OR操作
[[email protected] ~]# grep -Rn "LoadModule" /etc/httpd*
/etc/httpd/conf/httpd.conf:48:# have to place corresponding `LoadModule' lines at this location so the
/etc/httpd/conf/httpd.conf:54:# LoadModule foo_module modules/mod_foo.so
/etc/httpd/conf.modules.d/00-dav.conf:1:LoadModule dav_module modules/mod_dav.so
/etc/httpd/conf.modules.d/00-dav.conf:2:LoadModule dav_fs_module modules/mod_dav_fs.so
/etc/httpd/conf.modules.d/00-dav.conf:3:LoadModule dav_lock_module modules/mod_dav_lock.so
/etc/httpd/conf.modules.d/00-lua.conf:1:LoadModule lua_module modules/mod_lua.so
边栏推荐
- Record common problems: spaces in encodeuricomponent decoding and the use of Schema in third-party apps to invoke apps
- Which securities company is good for opening a mobile account? Also, is it safe to open an account online?
- [hot100] palindrome substring and longest palindrome substring
- Installation du serveur linux redis
- 【json-tutorial】第一章学习笔记
- RT thread application
- First line of code (Third Edition) learning notes
- 随机网络,无标度网络,小世界网络以及NS小世界的性能对比matlab仿真
- Go installation and configuration (1)
- Cluster distributed
猜你喜欢
随机推荐
Google Earth Engine(GEE)——墨累全球潮汐湿地变化 v1 (1999-2019) 数据集
June 29, 2022 -- take the first step with C # -- add decision logic to the code using the "if", "else" and "else if" statements in C #
解决:div获取不到键盘事件
Linux服務器安裝Redis
Egret P2 physical engine (1) small ball falling demo
If I am in Zhuhai, where can I open an account? In addition, is it safe to open a mobile account?
Porting RT thread to s5p4418 (II): dynamic memory management
vs2019和sql
经纬恒润再次荣获PACCAR集团 10PPM 质量奖
Class template case - encapsulation of array classes
Go项目目录结构介绍
【Hot100】15. Sum of three numbers
成品升级程序
【已解决】Failed! Error: Unknown error 1130
Goland常用快捷键设置
What if I forget my account number after opening an account? Is it safe to open an account online?
Which securities company is good for opening a mobile account? Also, is it safe to open an account online?
Basic fragmentary thoughts
Deploying web projects using idea
Linux服务器安装Redis









