这是我打字时得到的开始 info find
find [-H] [-L] [-P] [-D DEBUGOPTIONS] [-OLEVEL] [FILE...] [EXPRESSION]
'find' searches the directory tree rooted at each file name FILE by
Run Code Online (Sandbox Code Playgroud)
评估它在树中找到的每个文件的 EXPRESSION。
我认为 [] 中的某些内容是可选的,这是否准确?还是强制性的?
以下是 find 命令的一些示例:
How can I recursively find all files in current and subfolders based on wildcard matching?
find . -name "foo*"
Run Code Online (Sandbox Code Playgroud)
以下如何适合这里:
.
-name
"foo*"
Run Code Online (Sandbox Code Playgroud)
此信息是否会查找我过时数十年的文本?
或者只是不正确?
还是我读错了?
编辑:
看到第一个答案后,我必须同意这不是表达。至少从 man 和 info 页面来看。
EXPRESSION
The part of the command line after the list of starting points is the expression. …Run Code Online (Sandbox Code Playgroud)