Skip to content

Commit f8ae553

Browse files
committed
deploy: f0e8d44
1 parent 5ee4dc5 commit f8ae553

File tree

5 files changed

+4
-28
lines changed

5 files changed

+4
-28
lines changed

user/print.html

+1-13
Original file line numberDiff line numberDiff line change
@@ -2354,9 +2354,6 @@ <h2 id="examples-17"><a class="header" href="#examples-17">Examples</a></h2>
23542354
<p>Restore a drive from an IMG file:</p>
23552355
<pre><code class="language-shell">dd if={{path/to/file.img}} of={{/dev/drive_device}}
23562356
</code></pre>
2357-
<p>Check the progress of an ongoing dd operation (run this command from another shell):</p>
2358-
<pre><code class="language-shell">kill -USR1 $(pgrep ^dd)
2359-
</code></pre>
23602357
<blockquote>
23612358
<p>The examples are provided by the <a href="https://tldr.sh">tldr-pages project</a> under the <a href="https://github.com/tldr-pages/tldr/blob/main/LICENSE.md">CC BY 4.0 License</a>.</p>
23622359
<p>Please note that, as uutils is a work in progress, some examples might fail.</p>
@@ -3739,16 +3736,7 @@ <h2 id="options-35"><a class="header" href="#options-35">Options</a></h2>
37393736
</dl>
37403737
<h2 id="examples-32"><a class="header" href="#examples-32">Examples</a></h2>
37413738
<p>Output the first few lines of a file:</p>
3742-
<pre><code class="language-shell">head --lines {{count}} {{path/to/file}}
3743-
</code></pre>
3744-
<p>Output the first few bytes of a file:</p>
3745-
<pre><code class="language-shell">head --bytes {{count}} {{path/to/file}}
3746-
</code></pre>
3747-
<p>Output everything but the last few lines of a file:</p>
3748-
<pre><code class="language-shell">head --lines -{{count}} {{path/to/file}}
3749-
</code></pre>
3750-
<p>Output everything but the last few bytes of a file:</p>
3751-
<pre><code class="language-shell">head --bytes -{{count}} {{path/to/file}}
3739+
<pre><code class="language-shell">head -n {{count}} {{path/to/file}}
37523740
</code></pre>
37533741
<blockquote>
37543742
<p>The examples are provided by the <a href="https://tldr.sh">tldr-pages project</a> under the <a href="https://github.com/tldr-pages/tldr/blob/main/LICENSE.md">CC BY 4.0 License</a>.</p>

user/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

user/searchindex.json

+1-1
Large diffs are not rendered by default.

user/utils/dd.html

-3
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,6 @@ <h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
321321
<p>Restore a drive from an IMG file:</p>
322322
<pre><code class="language-shell">dd if={{path/to/file.img}} of={{/dev/drive_device}}
323323
</code></pre>
324-
<p>Check the progress of an ongoing dd operation (run this command from another shell):</p>
325-
<pre><code class="language-shell">kill -USR1 $(pgrep ^dd)
326-
</code></pre>
327324
<blockquote>
328325
<p>The examples are provided by the <a href="https://tldr.sh">tldr-pages project</a> under the <a href="https://github.com/tldr-pages/tldr/blob/main/LICENSE.md">CC BY 4.0 License</a>.</p>
329326
<p>Please note that, as uutils is a work in progress, some examples might fail.</p>

user/utils/head.html

+1-10
Original file line numberDiff line numberDiff line change
@@ -220,16 +220,7 @@ <h2 id="options"><a class="header" href="#options">Options</a></h2>
220220
</dl>
221221
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
222222
<p>Output the first few lines of a file:</p>
223-
<pre><code class="language-shell">head --lines {{count}} {{path/to/file}}
224-
</code></pre>
225-
<p>Output the first few bytes of a file:</p>
226-
<pre><code class="language-shell">head --bytes {{count}} {{path/to/file}}
227-
</code></pre>
228-
<p>Output everything but the last few lines of a file:</p>
229-
<pre><code class="language-shell">head --lines -{{count}} {{path/to/file}}
230-
</code></pre>
231-
<p>Output everything but the last few bytes of a file:</p>
232-
<pre><code class="language-shell">head --bytes -{{count}} {{path/to/file}}
223+
<pre><code class="language-shell">head -n {{count}} {{path/to/file}}
233224
</code></pre>
234225
<blockquote>
235226
<p>The examples are provided by the <a href="https://tldr.sh">tldr-pages project</a> under the <a href="https://github.com/tldr-pages/tldr/blob/main/LICENSE.md">CC BY 4.0 License</a>.</p>

0 commit comments

Comments
 (0)