dpkg -S /usr/bin/nginx

Category: Administration

dpkg -S /usr/bin/nginx

Find which package owns a file

Finds which package installed a specific file — useful for tracking down where a binary came from.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.