.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "KDB\-SET" "1" "2015-11-19" "" "" . .SH "NAME" \fBkdb\-set\fR \- Set the value of a key . .SH "SYNOPSIS" \fBkdb set []\fR . .P Where \fBkey\-name\fR is the path to the key you wish to set the value of (or create) and \fBvalue\fR is the value you would like to set the key to\. . .br If the \fBvalue\fR argument is not passed, the key will be set to a value of \fBnull\fR\. . .SH "DESCRIPTION" This command allows the user to set the value of an individual key\. . .SH "EMPTY VALUES" To set a key to an empty value, \fB""\fR should be passed for the \fBvalue\fR argument\. . .SH "OPTIONS" . .TP \fB\-H\fR, \fB\-\-help\fR Show the man page\. . .TP \fB\-V\fR, \fB\-\-version\fR Print version info\. . .TP \fB\-v\fR, \fB\-\-verbose\fR Explain what is happening\. . .TP \fB\-N\fR, \fB\-\-namespace ns\fR Specify the namespace to use when writing cascading keys Default: value of \fB/sw/kdb/current/namespace\fR or user\. . .SH "KDB" . .TP \fB/sw/kdb/current/namespace\fR Specifies which default namespace should be used when setting a cascading name\. Note, that as root you can set \fBuser/sw/kdb/current/namespace\fR to \fBsystem\fR to get the expected default\. (by default the namespace is user) . .SH "EXAMPLES" To set a Key to the value \fBHello World!\fR: . .br \fBkdb set user/example/key "Hello World!"\fR . .P To create a new key with a null value: . .br \fBkdb set user/example/key\fR . .P To set a key to an empty value: \fBkdb set user/example/key ""\fR . .SH "SEE ALSO" . .IP "\(bu" 4 For difference between empty and null values, see elektra\-values(7) \fIelektra\-values\.md\fR . .IP "" 0