\label{doc_help_kdb-meta-get_md_md_doc_help_kdb_meta_get}%
\Hypertarget{doc_help_kdb-meta-get_md_md_doc_help_kdb_meta_get}%
 \hypertarget{doc_help_kdb-meta-get_md_autotoc_md2583}{}\doxysection{SYNOPSIS}\label{doc_help_kdb-meta-get_md_autotoc_md2583}
{\ttfamily kdb meta-\/get $<$key name$>$ $<$metaname$>$}~\newline


Where {\ttfamily key name} is the name of the key and {\ttfamily metaname} is the name of the metakey the user would like to access.\hypertarget{doc_help_kdb-meta-get_md_autotoc_md2584}{}\doxysection{DESCRIPTION}\label{doc_help_kdb-meta-get_md_autotoc_md2584}
This command is used to print the value of a metakey. A metakey is information stored in a key which describes that key.

The handling of cascading {\ttfamily key name} does not differ to {\ttfamily kdb get}. Make sure to use the namespace {\ttfamily spec}, if you want metadata from there.\hypertarget{doc_help_kdb-meta-get_md_autotoc_md2585}{}\doxysection{RETURN VALUES}\label{doc_help_kdb-meta-get_md_autotoc_md2585}
This command will return the following values as an exit status\+:~\newline



\begin{DoxyItemize}
\item 0\+: No errors.
\item 1\+: Key not found. (Invalid {\ttfamily path})
\item 2\+: Metakey not found. (Invalid {\ttfamily metaname}).
\end{DoxyItemize}\hypertarget{doc_help_kdb-meta-get_md_autotoc_md2586}{}\doxysection{OPTIONS}\label{doc_help_kdb-meta-get_md_autotoc_md2586}

\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 -\/n}, {\ttfamily -\/-\/no-\/newline}\+: Suppress the newline at the end of the output.
\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{doc_help_kdb-meta-get_md_autotoc_md2587}{}\doxysection{EXAMPLES}\label{doc_help_kdb-meta-get_md_autotoc_md2587}
To get the value of a metakey called {\ttfamily description} stored in the key {\ttfamily spec\+:/example/key}\+:~\newline
 {\ttfamily kdb meta-\/get spec\+:/example/key description}

To get the value of metakey called {\ttfamily override/\#0} stored in the key {\ttfamily spec\+:/example/dir/key}\+:~\newline
 {\ttfamily kdb meta-\/get spec\+:/example/dir/key \char`\"{}override/\#0\char`\"{}}\hypertarget{doc_help_kdb-meta-get_md_autotoc_md2588}{}\doxysection{SEE ALSO}\label{doc_help_kdb-meta-get_md_autotoc_md2588}

\begin{DoxyItemize}
\item How to set metadata\+: \mbox{\hyperlink{doc_help_kdb-meta-set_md}{kdb-\/meta-\/set(1)}}
\item For more about cascading keys see \mbox{\hyperlink{doc_help_elektra-cascading_md}{elektra-\/cascading(7)}}
\item \mbox{\hyperlink{doc_help_elektra-metadata_md}{elektra-\/metadata(7)}} for an explanation of the metadata concepts.
\item \mbox{\hyperlink{doc_help_elektra-key-names_md}{elektra-\/key-\/names(7)}} for an explanation of key names. 
\end{DoxyItemize}