linux 搜索文件夹下的所有文件内容

linux 搜索文件夹下的所有文件内容

shell> find . -type f -name "*.*" | xargs grep "10080"
./1.conf:        proxy_pass http://172.21.16.11:10080;
./2.conf:        proxy_pass http://172.21.16.11:10080;
./3.conf:        proxy_pass http://172.21.16.11:10080;

猜你喜欢

转载自blog.csdn.net/sayyy/article/details/131423906