Using the command line how can I get a listing of all files in the current directory and all sub directories that have the executable ( +x
) bit set?
Find is your friend:
find <path> -perm -g=x -type f
to find all files (-type f) with the x-bit set for the group in "path".
Try the cool find
wizard: it says, find . -perm u+x,g+x,o+x -print
I didn't check, though, so beware!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With