Link
  1. List the binaries installed by a Debian package:

List the binaries installed by a Debian package:

binaries () { for f in $(dpkg -L "$1" | grep "/bin/"); do basename "$f"; done; }

# i prefer this as a fish function:
$ cat ~/.config/fish/functions/binaries.fish
function binaries
        for f in (dpkg -L $argv | grep "/bin/")
                basename $f
        end
end

Resources and More