From 8b4a50c12c091fd2903eb4dc51b0e5420558b393 Mon Sep 17 00:00:00 2001 From: tianci li Date: Thu, 7 Apr 2022 08:52:30 +0800 Subject: [PATCH 1/3] Not for containers, but for folders --- docs/books/admin_guide/03-commands.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/books/admin_guide/03-commands.md b/docs/books/admin_guide/03-commands.md index d061bfe0ab..d9c92f87c9 100644 --- a/docs/books/admin_guide/03-commands.md +++ b/docs/books/admin_guide/03-commands.md @@ -572,9 +572,7 @@ drwxr-xr-x. 2 root root 4096 17 nov. 17:48 alternatives ... ``` -since the command lists by default the contents of the folder and not the container. - -To do this, use the `-d` option: +The above command will display the contents of the folder by default. For the folder itself, you can use the `-d` option. ```bash $ ls -ld /etc From 4924f3ed25e6ca2838e68ea73a293864f2892b62 Mon Sep 17 00:00:00 2001 From: tianci li <86754294+jimcat8@users.noreply.github.com> Date: Thu, 7 Apr 2022 09:10:12 +0800 Subject: [PATCH 2/3] Update 03-commands.md --- docs/books/admin_guide/03-commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/books/admin_guide/03-commands.md b/docs/books/admin_guide/03-commands.md index d9c92f87c9..9f7e45db63 100644 --- a/docs/books/admin_guide/03-commands.md +++ b/docs/books/admin_guide/03-commands.md @@ -572,7 +572,7 @@ drwxr-xr-x. 2 root root 4096 17 nov. 17:48 alternatives ... ``` -The above command will display the contents of the folder by default. For the folder itself, you can use the `-d` option. +The above command will display the contents of the folder(inside) by default. For the folder itself, you can use the `-d` option. ```bash $ ls -ld /etc From f0e5e864b63402b36c1048d470bd4de966a4766a Mon Sep 17 00:00:00 2001 From: tianci Date: Thu, 7 Apr 2022 19:57:00 +0800 Subject: [PATCH 3/3] add space --- docs/books/admin_guide/03-commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/books/admin_guide/03-commands.md b/docs/books/admin_guide/03-commands.md index 9f7e45db63..d524d02174 100644 --- a/docs/books/admin_guide/03-commands.md +++ b/docs/books/admin_guide/03-commands.md @@ -572,7 +572,7 @@ drwxr-xr-x. 2 root root 4096 17 nov. 17:48 alternatives ... ``` -The above command will display the contents of the folder(inside) by default. For the folder itself, you can use the `-d` option. +The above command will display the contents of the folder (inside) by default. For the folder itself, you can use the `-d` option. ```bash $ ls -ld /etc