Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要找到所有超过 54 个单词的文件,这些文件位于目录“secret”中,可以在任何地方。
我开始:
find / | grep 'secret/*'
用这个
find / -type f | grep 'secret/*' | awk /[a-zA-Z.-]{54}/
在 awk /[your pattern]/ 中使用您喜欢的任何模式匹配