$darkmode
Elektra 0.11.0
kdb-meta-show(1) -- Print all metakeys along with their value

SYNOPSIS

kdb meta-show <key name>

Where key name is the name of the key the user would like to access.

DESCRIPTION

This command is used to print all metakeys and its values for a given key. A metakey is information stored in a key which describes that key.

The handling of cascading key name does not differ to kdb get. Make sure to use the namespace spec, if you want metadata from there.

RETURN VALUES

This command will return the following values as an exit status:

OPTIONS

RETURN VALUES

This command will return the following values as an exit status:

EXAMPLES

1 # Backup-and-Restore: user:/tests/examples
2 
3 # We use `dump` as storage format here
4 sudo kdb mount ls.ecf user:/tests/examples dump
5 
6 # Create the keys we use for the examples
7 kdb set user:/tests/examples/kdb-meta-show test
8 kdb meta-set user:/tests/examples/kdb-meta-show meta1 val1
9 kdb meta-set user:/tests/examples/kdb-meta-show meta2 val2
10 kdb meta-set user:/tests/examples/kdb-meta-show meta3 val3
11 kdb meta-set user:/tests/examples/kdb-meta-show meta4 val4
12 
13 # list all meta keys for /tests/examples/kdb-meta-show
14 kdb meta-show /tests/examples/kdb-meta-show
15 #> meta1: val1
16 #> meta2: val2
17 #> meta3: val3
18 #> meta4: val4
19 
20 kdb rm -r user:/tests/examples
21 sudo kdb umount user:/tests/examples

SEE ALSO