Bsd find

From wikinotes
Revision as of 22:42, 20 August 2021 by Will (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Search files and directories. This page is essentially a cookbook.

Also see gnu find.

Recipes

Files by Bitmask

# files with the executable bit set for user AND group AND other
find -type f -perm -111

# files with the executable bit set for user OR group OR other
# ('/111' on gnu-find)
find -type f -perm +111