diff --git a/bash/aptinfo.sh b/bash/aptinfo.sh new file mode 100755 index 0000000..734e237 --- /dev/null +++ b/bash/aptinfo.sh @@ -0,0 +1,4 @@ +#!/bin/bash +# shows `apt-cache show`information for a package that given binary belongs to (relative path) +apt-cache show $(apt-file search $(which $1) | cut -d ":" -f 1) +exit 0