Skip to content

Instantly share code, notes, and snippets.

@doublenns
Created June 20, 2018 15:42
Show Gist options
  • Save doublenns/89f89a7543555d7bd581d9bfdda4c7aa to your computer and use it in GitHub Desktop.
Save doublenns/89f89a7543555d7bd581d9bfdda4c7aa to your computer and use it in GitHub Desktop.
View Yum variables in STDOUT
python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
Resource:
https://unix.stackexchange.com/a/20226
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment