From 506f88f55219e7d77465b4f0ec2280fbf6eac242 Mon Sep 17 00:00:00 2001 From: tianci Date: Sat, 29 Jun 2024 12:17:01 +0800 Subject: [PATCH 1/2] Change to lowercase button --- docs/books/admin_guide/03-commands.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/books/admin_guide/03-commands.md b/docs/books/admin_guide/03-commands.md index 838509be4f..a5a3c294da 100644 --- a/docs/books/admin_guide/03-commands.md +++ b/docs/books/admin_guide/03-commands.md @@ -864,14 +864,14 @@ The commands specific to `less` are: | Command | Action | | ----------------- | ----------------------------------------------- | -| ++h++ | Help. | +| ++"h"++ | Help. | | ++arrow-up++ ++arrow-down++ ++arrow-right++ ++arrow-left++ | Move up, down a line, or to the right or left. | | ++enter++ | Move down one line. | | ++space++ | Move down one page. | | ++page-up++ and ++page-down++ | Move up or down one page. | | ++"g"++ and ++g++ | Move to the first and last pages | | `/text` | Search for text. | -| ++q++ | Quit the `less` command. | +| ++"q"++ | Quit the `less` command. | ### `cat` command @@ -1000,7 +1000,7 @@ adm:x:3:4:adm:/var/adm/:/sbin/nologin | `-o file` | Saves the sort to the specified file. | | `-t` | Specify a delimiter, which requires that the contents of the corresponding file must be regularly delimited column contents, otherwise they cannot be sorted properly. | | `-r` | Reverse the order of the result. Used in conjunction with the `-n` option to sort in order from largest to smallest. | -| `-u` | Remove duplicates after sorting. Equivalent to `sort file uniq`. | +| `-u` | Remove duplicates after sorting. Equivalent to `sort FILE | uniq` command. | The `sort` command sorts the file only on the screen. The file is not modified by the sorting. To save the sort, use the `-o` option or an output redirection `>`. From 3e9779b125c9c59377783a52bb6b33b7af71ebd7 Mon Sep 17 00:00:00 2001 From: tianci Date: Sat, 29 Jun 2024 12:26:37 +0800 Subject: [PATCH 2/2] update --- docs/books/admin_guide/03-commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/books/admin_guide/03-commands.md b/docs/books/admin_guide/03-commands.md index a5a3c294da..6af7a9fa6a 100644 --- a/docs/books/admin_guide/03-commands.md +++ b/docs/books/admin_guide/03-commands.md @@ -864,14 +864,14 @@ The commands specific to `less` are: | Command | Action | | ----------------- | ----------------------------------------------- | -| ++"h"++ | Help. | +| ++"h"++ or ++h++ | Help. | | ++arrow-up++ ++arrow-down++ ++arrow-right++ ++arrow-left++ | Move up, down a line, or to the right or left. | | ++enter++ | Move down one line. | | ++space++ | Move down one page. | | ++page-up++ and ++page-down++ | Move up or down one page. | | ++"g"++ and ++g++ | Move to the first and last pages | | `/text` | Search for text. | -| ++"q"++ | Quit the `less` command. | +| ++"q"++ or ++q++ | Quit the `less` command. | ### `cat` command