apt and dpkg snippets
# which package owns a file dpkg-query -S /path/to/file # list files in an installed package dpkg-query -L $PACKAGE # list files in a deb file dpkg-deb -c <package_name.deb> # see also apt-file(1)