Scroll to navigation

md_doc_help_kdb-shell(3elektra) Elektra md_doc_help_kdb-shell(3elektra)

NAME

md_doc_help_kdb-shell - kdb-shell(1) -- Start a kdb shell instance kdb shell

DESCRIPTION

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.

SHELL COMMANDS

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.

OPTIONS

  • -H, --help: Show the man page.
  • -V, --version: Print version info.

EXAMPLES

To execute commands from a textfile, you can use:


cat commands.txt | kdb shell

SEE ALSO

To learn more about these commands and how they work, refer to the Elektra API Documentation.

Sun May 29 2016 Version 0.8.14