linux查找文件中含有某个关键子grep -n 'DEBUG' index.php

grep -n ‘DEBUG’ index.php
grep -n ‘^DEBUG’ index.php 在index.php 中查找以DEBUG开头的地方
grep -n ‘DEBUG$’ index.php 在index.php 中查找以DEBUG结尾的地方

猜你喜欢

转载自blog.csdn.net/weixin_40974880/article/details/88322920
今日推荐