Finding all executables in a given path is easy if you use the lsx utility. Firstly install the required packages.
[email protected]:~$ sudo apt-get install suckless-tools [sudo] password for jason: Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: dwm stterm surf The following NEW packages will be installed: suckless-tools 0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade. Need to get 49.9 kB of archives. After this operation, 272 kB of additional disk space will be used. Get:1 http://de.archive.ubuntu.com/ubuntu/ vivid/universe suckless-tools amd64 40-1 [49.9 kB] Fetched 49.9 kB in 2s (24.5 kB/s) Selecting previously unselected package suckless-tools. (Reading database ... 386755 files and directories currently installed.) Preparing to unpack .../suckless-tools_40-1_amd64.deb ... Unpacking suckless-tools (40-1) ... Processing triggers for man-db (188.8.131.52-5) ... Setting up suckless-tools (40-1) ...
Then, once this is installed, you may then use this utility to find all executables in a directory.
jason@eyjafjallajkull:/usr/bin$ lsx /usr/local/bin bundle bundler packettracer
This is a very useful command for finding executable files easily on your Linux filesystem.