Elektra
0.8.16
|
kdb shell
This command is used to start an instance of the kdb shell. The kdb shell allows for a user to interactively view, edit, or otherwise work with the key database.
The kdb shell offers a number of commands to interact with the key database.
kdbGet <name>
: Get the value of a key.kdbSet <name>
: Set the value of a key.keySetName <name>
: Set the name of the current key.keySetMeta <name> <string>
: Set a meta key associated with the current key.keySetString <string>
: Set a string value for the current key.ksAppendKey
: Append the current key to the current keyset.ksCut <name>
: Cut the current keyset.ksOutput
: Prints the keys in the current keyset.-H
, --help
: Show the man page.-V
, --version
: Print version info.-p
, --profile
=<profile>: Use a different kdb profile.To execute commands from a textfile, you can use: cat commands.txt | kdb shell
To learn more about these commands and how they work, refer to the Elektra API Documentation.