4 ms·
The man page says that if path is omitted in find [path...] [expression] the current directory is used. I don't know if it's just that way for GNU find, o
by tspiteri 16y ago
The man page says that if path is omitted in
find [path...] [expression]
the current directory is used. I don't know if it's just that way for GNU find, or if it's standard Posix find behaviour.
Regarding the wildcards in search statements, I usually just need to match a case-sensitive substring, so I use something like:
find -name '*sub*'
I don't know of any weird wildcard reactions, but that may be because I don't usually use complex searches or matches.
One last thing, if you don't mind all the "./" prefixes, "find ." (or just "find") is just like "du -a" without the block counts.