How to find the executable files under a certain directory in linux?
migrated from stackoverflow.com Sep 10 '09 at 12:46
This question came from our site for professional and enthusiast programmers.
if you want to find only executable files and not searchable directories, combine with
checking with the comments i see there’s no type
|show 4 more comments|
Use the find's
I just found another option that is present at least in GNU find 4.4.0:
This should work even better because ACLs are also considered.
A file marked executable need not be a executable or loadable file or object.
Here is what I use: