Usage: augmatch [OPTIONS] FILE Print the contents of a file as parsed by augeas. Options: -l, --lens LENS use LENS to transform the file -L, --print-lens print the lens that will be used for a file an exit -a, --all print all nodes, even ones without a value -m, --match EXPR start printing where nodes match EXPR -e, --exact print only exact matches instead of the entire tree starting at a match -o, --only-value print only the values of tree nodes, but no path -q, --quiet do not print anything. Exit with zero status if a match was found -r, --root ROOT use ROOT as the root of the filesystem -I, --include DIR search DIR for modules; can be given mutiple times -S, --nostdinc do not search the builtin default directories for modules Examples: Print how augeas sees /etc/exports: augmatch /etc/exports Show only the entry for a specific mount: augmatch -m 'dir["/home"]' /etc/exports Show all the clients to which we are exporting /home: augmatch -eom 'dir["/home"]/client' /etc/exports