linux中查找包含某关键字的文件

xiaoxiao2021-02-28  127

linux中查找包含关键字’hello’,且后缀名为sh文件的操作命令:

find / -name '*.sh' |xargs grep 'hello'
转载请注明原文地址: https://www.6miu.com/read-31972.html

最新回复(0)