Debian / Ubuntu Linux: Find Out What Package Provides a File


#1

Originally published at: https://www.cyberciti.biz/faq/equivalent-of-rpm-qf-command/


How do I find out what package provides a file called /bin/ls? I use the rpm -qf /bin/ls command under Red Hat Enterprise Linux to find out package name. Can you tell me equivalent command for the same under Debian or Ubuntu Linux?