HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pacini — Query pacman-style configuration files. More information: <https://github.com/andrewgregory/pacutils

Submitted by: @import:tldr-pages··
0
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-list


Always show directive names even if only one directive is provided:
pacini {{path/to/file}} --verbose


Display directives listed in a specific section:
pacini {{path/to/file}} --section {{section_name}}


Display help:
pacini --help


Display version:
pacini --version

Code Snippets

Show the full parsed configuration file (default: `stdin`)

pacini {{path/to/file}}

List configured sections

pacini {{path/to/file}} --section-list

Always show directive names even if only one directive is provided

pacini {{path/to/file}} --verbose

Display directives listed in a specific section

pacini {{path/to/file}} --section {{section_name}}

Display help

pacini --help

Context

tldr-pages: linux/pacini

Revisions (0)

No revisions yet.