goback add

linux下查找任意文件中的指定内容

3109 点击·0 回帖
灯火互联
楼主


linux下查找任意文件中的指定内容

find / -type f -name "*.properties" |

xargs grep "tps_user"
    
*.properties是指定文件名

tps_user是指定内容


喜欢0 评分0