From e7292e1645dd9743882a9c8f9892b9d23be81a06 Mon Sep 17 00:00:00 2001 From: Wenchi Pan Date: Wed, 21 Feb 2024 23:09:24 +0800 Subject: [PATCH] Site updated: 2024-02-21 23:09:24 --- 2024/02/20/linux-common-command/index.html | 9 ++++++--- index.html | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/2024/02/20/linux-common-command/index.html b/2024/02/20/linux-common-command/index.html index f4d5e1e..6c3e4b4 100644 --- a/2024/02/20/linux-common-command/index.html +++ b/2024/02/20/linux-common-command/index.html @@ -27,7 +27,7 @@ - + @@ -189,7 +189,7 @@

- + @@ -207,7 +207,10 @@

Common usage

Use right arrow key to scroll right. Or press -S and Enter in less to toggle word wrap.

Also see DigitalOcean's website for more usages.

Show colorful output:

-

If the original daemon output is already colorized, but the colors are being lost when using journalctl, the --output cat option will restore them. See the manual for more details. >-o, --output= > Controls the formatting of the journal entries that are shown. Takes one of the following > options:

+

If the original daemon output is already colorized, but the colors are being lost when using journalctl, the --output cat option will restore them. See the manual for more details.

+
+

-o, --output= Controls the formatting of the journal entries that are shown. Takes one of the following options:

+

cat generates a very terse output, only showing the actual message of each journal entry with no metadata, not even a timestamp.

diff --git a/index.html b/index.html index d44d4af..f7591ef 100644 --- a/index.html +++ b/index.html @@ -185,7 +185,7 @@

- + @@ -204,7 +204,10 @@

Common usage

Use right arrow key to scroll right. Or press -S and Enter in less to toggle word wrap.

Also see DigitalOcean's website for more usages.

Show colorful output:

-

If the original daemon output is already colorized, but the colors are being lost when using journalctl, the --output cat option will restore them. See the manual for more details. >-o, --output= > Controls the formatting of the journal entries that are shown. Takes one of the following > options:

+

If the original daemon output is already colorized, but the colors are being lost when using journalctl, the --output cat option will restore them. See the manual for more details.

+
+

-o, --output= Controls the formatting of the journal entries that are shown. Takes one of the following options:

+

cat generates a very terse output, only showing the actual message of each journal entry with no metadata, not even a timestamp.