From 3eb8066b8987a82d4fa4bdbff48c801d5596c986 Mon Sep 17 00:00:00 2001 From: tianci li Date: Wed, 20 Apr 2022 09:10:31 +0800 Subject: [PATCH 1/2] Text changes for tail command options --- 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 046ba6a285..55c82a00ac 100644 --- a/docs/books/admin_guide/03-commands.md +++ b/docs/books/admin_guide/03-commands.md @@ -970,7 +970,7 @@ tcpdump::x:72:72::/:/sbin/nologin user1:x:500:500:grp1:/home/user1:/bin/bash ``` -With the `-f` option, the `tail` command does not give back and runs until the user interrupts it with the sequence CTRL + C. This option is very frequently used to track log files (the logs) in real time. +With the `-f` option, The change information of the file will always be output unless the user exits the monitoring state with Ctrl + C. This option is very frequently used to track log files (the logs) in real time. Without the `-n` option, the `tail` command displays the last 10 lines of the file. From ca911c504e7434cb2691ee6cb302a2da591fe62d Mon Sep 17 00:00:00 2001 From: tianci li Date: Wed, 20 Apr 2022 09:13:04 +0800 Subject: [PATCH 2/2] Case change --- 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 55c82a00ac..7cf2ef1ea3 100644 --- a/docs/books/admin_guide/03-commands.md +++ b/docs/books/admin_guide/03-commands.md @@ -970,7 +970,7 @@ tcpdump::x:72:72::/:/sbin/nologin user1:x:500:500:grp1:/home/user1:/bin/bash ``` -With the `-f` option, The change information of the file will always be output unless the user exits the monitoring state with Ctrl + C. This option is very frequently used to track log files (the logs) in real time. +With the `-f` option, the change information of the file will always be output unless the user exits the monitoring state with CTRL + C. This option is very frequently used to track log files (the logs) in real time. Without the `-n` option, the `tail` command displays the last 10 lines of the file.