-regex matches the complete path, not the filename only. The closest thing I came up with would be: find /etc -type f -regex '.+/[ab][^/]+'.
確定! 回上一頁