snippetbashTip
pacini — Query pacman-style configuration files. More information: <https://github.com/andrewgregory/pacutils
Viewed 0 times
configurationcommandfilesstylecliquerypacinipacman
linux
Problem
How to use the
pacini command: Query pacman-style configuration files. More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacini.pod>.Solution
pacini — Query pacman-style configuration files. More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacini.pod>.Show the full parsed configuration file (default:
stdin):pacini {{path/to/file}}List configured sections:
pacini {{path/to/file}} --section-listAlways show directive names even if only one directive is provided:
pacini {{path/to/file}} --verboseDisplay directives listed in a specific section:
pacini {{path/to/file}} --section {{section_name}}Display help:
pacini --helpDisplay version:
pacini --versionCode Snippets
Show the full parsed configuration file (default: `stdin`)
pacini {{path/to/file}}List configured sections
pacini {{path/to/file}} --section-listAlways show directive names even if only one directive is provided
pacini {{path/to/file}} --verboseDisplay directives listed in a specific section
pacini {{path/to/file}} --section {{section_name}}Display help
pacini --helpContext
tldr-pages: linux/pacini
Revisions (0)
No revisions yet.