.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "KDB\-GET" "1" "2015-11-19" "" "" . .SH "NAME" \fBkdb\-get\fR \- Get the value of a key stored in the key database . .SH "SYNOPSIS" \fBkdb get \fR . .P Where \fBpath\fR is the full path to the key\. . .SH "DESCRIPTION" This command is used to retrieve the value of a key\. . .P If you enter a \fBpath\fR starting with a leading \fB/\fR, then a cascading lookup will be performed in order to attempt to locate the key\. . .br In this case, using the \fB\-v\fR option allows the user to see the full \fBpath\fR of the key if it is found\. . .P Note: There is a current limitation where only keys that are mounted will be considered during a cascading lookup\. . .br A workaround that will lookup all keys is to pass the \fB\-a\fR option\. . .br Additionally, a user can use the command \fBkdb ls \fR to see if an override or a fallback will be considered by the lookup\. . .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\-a\fR, \fB\-\-all\fR Consider all of the keys\. . .TP \fB\-n\fR, \fB\-\-no\-newline\fR Suppress the newline at the end of the output\. . .TP \fB\-v\fR, \fB\-\-verbose\fR Explain what is happening\. Gives a complete trace of all tried keys\. . .SH "EXAMPLES" To get the value of a key: . .br \fBkdb get user/example/key\fR . .P To get the value of a key using a cascading lookup: . .br \fBkdb get /example/key\fR . .P To get the value of a key without adding a newline to the end of it: \fBkdb get \-n /example/key\fR . .P To explain why a specific key was used (for cascading keys): \fBkdb get \-v /example/key\fR . .SH "SEE ALSO" . .IP "\(bu" 4 For more about cascading keys see elektra\-cascading(7) \fIelektra\-cascading\.md\fR . .IP "\(bu" 4 TO get keys in shell scripts, you also can use kdb\-sget(1) \fIkdb\-sget\.md\fR . .IP "" 0