Using dpkg to find package names on Debian Linux 7 (wheezy)

To discover what package a file belongs to use command:

# dpkg -S /bin/dash
dash: /bin/dash

We find several packages related to what we’re looking for, together with brief descriptions. To get more information about a specific package, I can then use:

# apt-cache show dash

Read more at https://www.debian.org/doc/manuals/apt-howto/ch-search.en.html