Forrest logo
back to the rpm tool

rpm:tldr:09036

rpm: Show changed, missing and/or incorrectly installed files of matching packages.
$ rpm --verify --all '${php-*}'
try on your machine

The command "rpm --verify --all '${php-*}'" is used to verify the integrity and authenticity of all installed packages with names starting with "php-".

Here's a breakdown of the command:

  • "rpm" is the package manager command in some Linux distributions like Fedora and CentOS.
  • "--verify" is an option used to verify the files installed by packages on the system.
  • "--all" specifies that all installed packages should be included in the verification process.
  • "'${php-}'" is a shell wildcard pattern enclosed in single quotes. The pattern "php-" matches all package names starting with "php-". The use of single quotes prevents the shell from expanding the wildcard pattern before it is passed to the command.

So, the command will check the integrity of all installed packages that have names starting with "php-" and provide a report indicating if any files have been modified, added, or removed since they were installed.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the rpm tool