Skip to content

Commit

Permalink
Site updated: 2024-02-21 23:09:24
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenchi Pan committed Feb 21, 2024
1 parent 4341b9e commit e7292e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions 2024/02/20/linux-common-command/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<meta property="og:description" content="See the log from systemd service: journalctl Common usage journalctl -u UnitName --since today Use right arrow key to scroll right. Or press -S and Enter in less to toggle word wrap. Also see DigitalO">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2024-02-20T08:53:21.000Z">
<meta property="article:modified_time" content="2024-02-21T15:04:27.815Z">
<meta property="article:modified_time" content="2024-02-21T15:09:18.235Z">
<meta property="article:author" content="Black Pan">
<meta name="twitter:card" content="summary">

Expand Down Expand Up @@ -189,7 +189,7 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-02-21 23:04:27" itemprop="dateModified" datetime="2024-02-21T23:04:27+08:00">2024-02-21</time>
<time title="修改时间:2024-02-21 23:09:18" itemprop="dateModified" datetime="2024-02-21T23:09:18+08:00">2024-02-21</time>
</span>


Expand All @@ -207,7 +207,10 @@ <h2 id="common-usage">Common usage</h2>
<p>Use right arrow key to scroll right. Or press <code>-S</code> and Enter in <code>less</code> to toggle word wrap.</p>
<p>Also see <a target="_blank" rel="noopener" href="https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs">DigitalOcean's website</a> for more usages.</p>
<h2 id="show-colorful-output">Show colorful output:</h2>
<p>If the original daemon output is already colorized, but the colors are being lost when using journalctl, the <code>--output cat</code> option will restore them. See the manual for more details. &gt;-o, --output= &gt; Controls the formatting of the journal entries that are shown. Takes one of the following &gt; options:</p>
<p>If the original daemon output is already colorized, but the colors are being lost when using journalctl, the <code>--output cat</code> option will restore them. See the manual for more details.</p>
<blockquote>
<p>-o, --output= Controls the formatting of the journal entries that are shown. Takes one of the following options:</p>
</blockquote>
<blockquote>
<p>cat generates a very terse output, only showing the actual message of each journal entry with no metadata, not even a timestamp.</p>
</blockquote>
Expand Down
7 changes: 5 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ <h2 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-02-21 23:04:27" itemprop="dateModified" datetime="2024-02-21T23:04:27+08:00">2024-02-21</time>
<time title="修改时间:2024-02-21 23:09:18" itemprop="dateModified" datetime="2024-02-21T23:09:18+08:00">2024-02-21</time>
</span>


Expand All @@ -204,7 +204,10 @@ <h2 id="common-usage">Common usage</h2>
<p>Use right arrow key to scroll right. Or press <code>-S</code> and Enter in <code>less</code> to toggle word wrap.</p>
<p>Also see <a target="_blank" rel="noopener" href="https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs">DigitalOcean's website</a> for more usages.</p>
<h2 id="show-colorful-output">Show colorful output:</h2>
<p>If the original daemon output is already colorized, but the colors are being lost when using journalctl, the <code>--output cat</code> option will restore them. See the manual for more details. &gt;-o, --output= &gt; Controls the formatting of the journal entries that are shown. Takes one of the following &gt; options:</p>
<p>If the original daemon output is already colorized, but the colors are being lost when using journalctl, the <code>--output cat</code> option will restore them. See the manual for more details.</p>
<blockquote>
<p>-o, --output= Controls the formatting of the journal entries that are shown. Takes one of the following options:</p>
</blockquote>
<blockquote>
<p>cat generates a very terse output, only showing the actual message of each journal entry with no metadata, not even a timestamp.</p>
</blockquote>
Expand Down

0 comments on commit e7292e1

Please sign in to comment.