Scroll to navigation

KDB-SHELL(1) KDB-SHELL(1)

NAME

kdb-shell - Start a kdb shell instance

SYNOPSIS

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

Show the man page.
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 http://doc.libelektra.org/api/current/html.

2015-11-19