Computer Tips - Fedora: How to find what rpm contains that file

Date: 2012may29 Update: 2029oct31 Distro: RedHat/Fedora/CentOS OS: Linux Q. Fedora: How to find what rpm contains that file A.
dnf provides <full-path-to-file>
For example:
dnf provides /usr/bin/ls
Example output:
... coreutils-9.10-5.fc44.x86_64 : A set of basic GNU tools commonly used in shell scripts Repo : @System Matched From : Filename : /usr/bin/ls ...
If you don't know the folder:
dnf provides $(which --skip-alias ls)
Or use: https://rpmfind.net