\label{doc_help_kdb-set_md_md_doc_help_kdb_set}%
\Hypertarget{doc_help_kdb-set_md_md_doc_help_kdb_set}%
 \hypertarget{doc_help_kdb-set_md_autotoc_md2680}{}\doxysection{SYNOPSIS}\label{doc_help_kdb-set_md_autotoc_md2680}
{\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{doc_help_kdb-set_md_autotoc_md2681}{}\doxysection{DESCRIPTION}\label{doc_help_kdb-set_md_autotoc_md2681}
This command allows the user to set the value of an individual key. If a cascading key is used that does not resolve to an existing key, the operation is aborted as it is ambiguous.\hypertarget{doc_help_kdb-set_md_autotoc_md2682}{}\doxysection{EMPTY VALUES}\label{doc_help_kdb-set_md_autotoc_md2682}
To set a key to an empty value, {\ttfamily \char`\"{}\char`\"{}} should be passed for the {\ttfamily value} argument.\hypertarget{doc_help_kdb-set_md_autotoc_md2683}{}\doxysection{NEGATIVE VALUES}\label{doc_help_kdb-set_md_autotoc_md2683}
To set a key to a negative value, {\ttfamily -\/-\/} has to be used to stop option processing. (see example below)\hypertarget{doc_help_kdb-set_md_autotoc_md2684}{}\doxysection{OPTIONS}\label{doc_help_kdb-set_md_autotoc_md2684}

\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 -\/-\/}\+: 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.
\item {\ttfamily -\/f}, {\ttfamily -\/-\/force}\+: Do not perform a cascading lookup if the key provided has a namespace. For example, this bypasses validation specified in the spec\+: namespace for the given key.
\end{DoxyItemize}\hypertarget{doc_help_kdb-set_md_autotoc_md2685}{}\doxysection{KDB}\label{doc_help_kdb-set_md_autotoc_md2685}

\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.
\end{DoxyItemize}\hypertarget{doc_help_kdb-set_md_autotoc_md2686}{}\doxysection{EXAMPLES}\label{doc_help_kdb-set_md_autotoc_md2686}
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{doc_help_kdb-set_md_autotoc_md2687}{}\doxysection{SEE ALSO}\label{doc_help_kdb-set_md_autotoc_md2687}

\begin{DoxyItemize}
\item \mbox{\hyperlink{doc_help_kdb_md}{kdb(1)}} for how to configure the kdb utility and use the bookmarks.
\item \mbox{\hyperlink{doc_help_elektra-key-names_md}{elektra-\/key-\/names(7)}} for an explanation of key names. 
\end{DoxyItemize}