From da779e1e938b02a7fbad137736337ed3f84f44c0 Mon Sep 17 00:00:00 2001 From: dparmar18 Date: Tue, 17 May 2022 11:46:00 +0530 Subject: [PATCH] doc/man/cephfs-shell.rst: documentation of ln command Signed-off-by: Dhairya Parmar --- doc/man/8/cephfs-shell.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/man/8/cephfs-shell.rst b/doc/man/8/cephfs-shell.rst index 502423d253764..ea4d665b3ddfe 100644 --- a/doc/man/8/cephfs-shell.rst +++ b/doc/man/8/cephfs-shell.rst @@ -164,6 +164,24 @@ Usage : * file - name of the file +ln +-- + +Add a hard link to an existing file or create a symbolic link to an existing +file or directory. + +Usage: + + ln [options] [link_name] + +* target - file/directory to which a link is to be created +* link_name - link to target with the name link_name + +Options: + -s, --symbolic Create symbolic link + -v, --verbose Print name of each linked file + -f, --force Force create link/symbolic link + cd -- -- 2.39.5