Jon*_*son 3 unix bash shell ksh
当我做:
$ find /
Run Code Online (Sandbox Code Playgroud)
它搜索整个系统.
我该如何预防呢?
(这个问题来自对另一个问题的" 回答 ".)
考虑:
-maxdepth n
True if the depth of the current file into the tree is less than
or equal to n.
-mindepth n
True if the depth of the current file into the tree is greater
than or equal to n.
Run Code Online (Sandbox Code Playgroud)