Loading CS.md +14 −0 Original line number Diff line number Diff line Loading @@ -246,6 +246,20 @@ filenames: - - - **Package/file "DB" search for RHEL-based distros:** # list files provided by $PACKAGE_NAME dnf repoquery -l $PACKAGE_NAME # list packages providing $FILE_PATH dnf whatprovides $FILE_PATH If the package/file is installed/present, using `rpm` is much faster: rpm -ql $PACKAGE_NAME rpm -qf $FILE_PATH - - - **Other cheat sheets** * Markdown: <http://packetlife.net/media/library/16/Markdown.pdf> Loading Loading
CS.md +14 −0 Original line number Diff line number Diff line Loading @@ -246,6 +246,20 @@ filenames: - - - **Package/file "DB" search for RHEL-based distros:** # list files provided by $PACKAGE_NAME dnf repoquery -l $PACKAGE_NAME # list packages providing $FILE_PATH dnf whatprovides $FILE_PATH If the package/file is installed/present, using `rpm` is much faster: rpm -ql $PACKAGE_NAME rpm -qf $FILE_PATH - - - **Other cheat sheets** * Markdown: <http://packetlife.net/media/library/16/Markdown.pdf> Loading