Elektra  0.9.4
Plugin: file

The file plugin reads the content of a file and stores it into the parent key.

kdb mount file /testfile file

None.

`` @section autotoc_md219 Mount the filefile/multilineatsystem:/tests/file` sudo kdb mount "$PWD/src/plugins/file/file/singleline" system:/tests/file file info=

Check the content of the file

kdb get system:/tests/file #> this is a single line testfile

List available attributes of the mounted file

kdb meta-ls system:/tests/file #> info/atime #> info/ctime #> info/gid #> info/inode #> info/mode #> info/mtime #> info/size #> info/uid

Check out the file’s permissions

kdb meta-get system:/tests/file info/mode

STDOUT-REGEX: 1006[46]4

Unmount the file

sudo kdb umount system:/tests/file ```

Limitations

None.