8.4.4. Viewing the Current Configuration
To display the current values of global Yum options (that is, the options specified in the
[main]
section of the /etc/yum.conf
file), run the yum-config-manager
with no command-line options:
yum-config-manager
yum-config-manager
To list the content of a different configuration section or sections, use the command in the following form:
yum-config-manager section
yum-config-manager section
You can also use a glob expression to display the configuration of all matching sections:
yum-config-manager glob_expression
yum-config-manager glob_expression
For example, to list all configuration options and their corresponding values, type the following at a shell prompt: