web*_*at0 8 linux ubuntu linux-kernel
我想按内容搜索整个服务器。(文本文件)
当我尝试 grep -rl "text here" 时,它冻结了。
你会怎么做?
以及通常需要多长时间?
find / -name "*.txt" -exec grep "text here" {} \; -print 2>/dev/null
Run Code Online (Sandbox Code Playgroud)
这可以用人类语言来解释为:
归档时间: |
|
查看次数: |
30815 次 |
最近记录: |