使用grep命令。
如果你想知道用户一词是否在/etc/httpd/conf/httpd.conf中,你可以运行
grep -i user /etc/httpd/conf/httpd.conf
(-i 使搜索不区分大小写)。
通常grep不会告诉你它找到该术语的行号。如果你想找出行号,运行
grep -n -i user /etc/httpd/conf/httpd.conf
-
扫码下载安卓APP
-
微信扫一扫关注我们
微信扫一扫打开小程序
手Q扫一扫打开小程序
-
返回顶部
Copyright © 针狗技术网 |
2023-2025 |
粤ICP备2021107765号-6 |
queries in 0.197 s |
主题作者:parklot
发表评论