kdb-set - Online in the Cloud

This is the command kdb-set that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


kdb-set - Set the value of a key

SYNOPSIS


kdb set <key-name> [<value>]

Where key-name is the path to the key you wish to set the value of (or create) and value
is the value you would like to set the key to.
If the value argument is not passed, the key will be set to a value of null.

DESCRIPTION


This command allows the user to set the value of an individual key.

EMPTY VALUES


To set a key to an empty value, "" should be passed for the value argument.

OPTIONS


-H, --help
Show the man page.

-V, --version
Print version info.

-v, --verbose
Explain what is happening.

-N, --namespace ns
Specify the namespace to use when writing cascading keys Default: value of
/sw/kdb/current/namespace or user.

KDB


/sw/kdb/current/namespace
Specifies which default namespace should be used when setting a cascading name.
Note, that as root you can set user/sw/kdb/current/namespace to system to get the
expected default. (by default the namespace is user)

EXAMPLES


To set a Key to the value Hello World!:
kdb set user/example/key "Hello World!"

To create a new key with a null value:
kdb set user/example/key

To set a key to an empty value: kdb set user/example/key ""

Use kdb-set online using onworks.net services



Latest Linux & Windows online programs