当前目录下搜索:find . -name "*.*" | xargs grep "password=*" --color=always 备注:这个命令会输出当前目录下不存在匹配字符串的的子目录完美的当前目录下搜索字符串命令:grep "password=*" -R -n --color=always全量目录搜索:find / -name "*.*" |
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号