Find executables of an installed debian package (using dpkg) Here's a script that lists all executables of an installed debian package.
Contributed by: Unknown User anonymous2 [01/21/04 | Discuss (0) | Link to this hack]
#!/bin/bash
# Lookup executables of package
if [ ! $1 ]; then
echo "Use: ${0} <package>"
exit
fi
for i in `dpkg -L $1`; do
if [ -x $i ] && [ ! -d $i ]; then
ls -l $i
fi
done