Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Latest commit

 

History

History
42 lines (27 loc) · 937 Bytes

File metadata and controls

42 lines (27 loc) · 937 Bytes

kdb-dirname(1) -- Get the cascading directory name of a key name

SYNOPSIS

kdb dirname <key name>

Where key name is the name of the key.

DESCRIPTION

This command is used to retrieve the directory name of a key, without any namespace.

RETURN VALUES

This command will return the following values as an exit status:

  • 0: No errors.
  • 7: invalid key name passed, see kdb(1) for a list of return codes used by kdb.

OPTIONS

  • -n, --no-newline: Suppress the newline at the end of the output.

EXAMPLES

kdb dirname user:/key/subkey
#> /key

kdb dirname /
#> /

SEE ALSO