{\ttfamily kdb shell}

\subsection*{D\+E\+S\+C\+R\+I\+P\+T\+I\+O\+N}

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.

\subsection*{S\+H\+E\+L\+L C\+O\+M\+M\+A\+N\+D\+S}

The kdb shell offers a number of commands to interact with the key database.


\begin{DoxyItemize}
\item {\ttfamily kdb\+Get $<$name$>$}\+: Get the value of a key.
\item {\ttfamily kdb\+Set $<$name$>$}\+: Set the value of a key.
\item {\ttfamily key\+Set\+Name $<$name$>$}\+: Set the name of the current key.
\item {\ttfamily key\+Set\+Meta $<$name$>$ $<$string$>$}\+: Set a meta key associated with the current key.
\item {\ttfamily key\+Set\+String $<$string$>$}\+: Set a string value for the current key.
\item {\ttfamily ks\+Append\+Key}\+: Append the current key to the current keyset.
\item {\ttfamily ks\+Cut $<$name$>$}\+: Cut the current keyset.
\item {\ttfamily ks\+Output}\+: Prints the keys in the current keyset.
\end{DoxyItemize}

\subsection*{O\+P\+T\+I\+O\+N\+S}


\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}=\mbox{[}when\mbox{]}\+: Print never/auto(default)/always colored output.
\end{DoxyItemize}

\subsection*{E\+X\+A\+M\+P\+L\+E\+S}

To execute commands from a textfile, you can use\+: {\ttfamily cat commands.\+txt $\vert$ kdb shell}

\subsection*{S\+E\+E A\+L\+S\+O}

To learn more about these commands and how they work, refer to the \href{http://doc.libelektra.org/api/current/html}{\tt Elektra A\+P\+I Documentation}. 