\hypertarget{md_doc_help_kdb_set_autotoc_md2743}{}\doxysection{SYNOPSIS}\label{md_doc_help_kdb_set_autotoc_md2743}
{\ttfamily kdb set $<$key name$>$ $<$value$>$}

Where {\ttfamily key name} is the name of the key you wish to set the value of (or create) and {\ttfamily value} is the value you would like to set the key to.\hypertarget{md_doc_help_kdb_set_autotoc_md2744}{}\doxysection{DESCRIPTION}\label{md_doc_help_kdb_set_autotoc_md2744}
This command allows the user to set the value of an individual key.\hypertarget{md_doc_help_kdb_set_autotoc_md2745}{}\doxysection{EMPTY VALUES}\label{md_doc_help_kdb_set_autotoc_md2745}
To set a key to an empty value, {\ttfamily \char`\"{}\char`\"{}} should be passed for the {\ttfamily value} argument.\hypertarget{md_doc_help_kdb_set_autotoc_md2746}{}\doxysection{NEGATIVE VALUES}\label{md_doc_help_kdb_set_autotoc_md2746}
To set a key to a negative value, {\ttfamily -\/-\/} has to be used to stop option processing. (see example below)\hypertarget{md_doc_help_kdb_set_autotoc_md2747}{}\doxysection{OPTIONS}\label{md_doc_help_kdb_set_autotoc_md2747}

\begin{DoxyItemize}
\item {\ttfamily -\/H}, {\ttfamily -\/-\/help}\+: Show the man page.
\item {\ttfamily -\/V}, {\ttfamily -\/-\/version}\+: Print version info.
\item {\ttfamily -\/p}, {\ttfamily -\/-\/profile $<$profile$>$}\+: Use a different kdb profile.
\item {\ttfamily -\/C}, {\ttfamily -\/-\/color $<$when$>$}\+: Print never/auto(default)/always colored output.
\item {\ttfamily -\/q}, {\ttfamily -\/-\/quiet}\+: Suppress non-\/error messages.
\item {\ttfamily -\/N}, {\ttfamily -\/-\/namespace=NS}\+: Specify the namespace to use when writing cascading keys. See \href{\#KDB}{\texttt{ below in KDB}}.
\item {\ttfamily -\/-\/}\+: Do not process any following arguments starting with {\ttfamily -\/} as options.
\item {\ttfamily -\/v}, {\ttfamily -\/-\/verbose}\+: Explain what is happening. Prints additional information in case of errors/warnings.
\item {\ttfamily -\/d}, {\ttfamily -\/-\/debug}\+: Give debug information. Prints additional debug information in case of errors/warnings.
\end{DoxyItemize}\hypertarget{md_doc_help_kdb_set_autotoc_md2748}{}\doxysection{KDB}\label{md_doc_help_kdb_set_autotoc_md2748}

\begin{DoxyItemize}
\item {\ttfamily /sw/elektra/kdb/\#0/current/verbose}\+: Same as {\ttfamily -\/v}\+: Explain what is happening.
\item {\ttfamily /sw/elektra/kdb/\#0/current/quiet}\+: Same as {\ttfamily -\/q}\+: Suppress default messages.
\item {\ttfamily /sw/elektra/kdb/\#0/current/namespace}\+: Specifies which default namespace should be used when setting a cascading name. By default the namespace is user, except {\ttfamily kdb} is used as root, then {\ttfamily system} is the default.
\end{DoxyItemize}\hypertarget{md_doc_help_kdb_set_autotoc_md2749}{}\doxysection{EXAMPLES}\label{md_doc_help_kdb_set_autotoc_md2749}
To set a Key to the value {\ttfamily Hello World!}\+:~\newline
 {\ttfamily kdb set user\+:/example/key \char`\"{}\+Hello World!\char`\"{}}

To set a key to an empty value\+:~\newline
 {\ttfamily kdb set user\+:/example/key \char`\"{}\char`\"{}}

To set a key to a negative value\+:~\newline
 {\ttfamily kdb set -\/-\/ /tests/neg -\/3}

To create bookmarks\+:~\newline
 {\ttfamily kdb set user\+:/sw/elektra/kdb/\#0/current/bookmarks \char`\"{}\char`\"{}}

Followed by\+:~\newline
 {\ttfamily kdb set user\+:/sw/elektra/kdb/\#0/current/bookmarks/kdb user\+:/sw/elektra/kdb/\#0/current}\hypertarget{md_doc_help_kdb_set_autotoc_md2750}{}\doxysection{SEE ALSO}\label{md_doc_help_kdb_set_autotoc_md2750}

\begin{DoxyItemize}
\item \mbox{\hyperlink{md_doc_help_kdb}{kdb(1)}} for how to configure the kdb utility and use the bookmarks.
\item \mbox{\hyperlink{md_doc_help_elektra_key_names}{elektra-\/key-\/names(7)}} for an explanation of key names.
\item \mbox{\hyperlink{md_doc_help_elektra_values}{elektra-\/values(7)}} for the difference between empty and null values. 
\end{DoxyItemize}