From eefa3f67428505986471883169b2023ad141b6b8 Mon Sep 17 00:00:00 2001 From: dparmar18 Date: Mon, 18 Apr 2022 23:52:05 +0530 Subject: [PATCH] doc/man/cephfs-shell.rst: add use of exclamation mark with cmds Description: `!` - Exclamation mark can be used to interact with local file system apart from Ceph File System too. This PR intends to document it. Signed-off-by: Dhairya Parmar --- doc/man/8/cephfs-shell.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/man/8/cephfs-shell.rst b/doc/man/8/cephfs-shell.rst index 65b344fa9126..502423d25376 100644 --- a/doc/man/8/cephfs-shell.rst +++ b/doc/man/8/cephfs-shell.rst @@ -62,6 +62,23 @@ Options Commands ======== +.. note:: + + Apart from Ceph File System, CephFS Shell commands can also interact + directly with the local file system. To achieve this, ``!`` (an + exclamation point) must precede the CephFS Shell command. + + Usage : + + ! + + For example, + + .. code:: bash + + CephFS:~/>>> !ls # Lists the local file system directory contents. + CephFS:~/>>> ls # Lists the Ceph File System directory contents. + mkdir ----- -- 2.47.3