openbsd-webzine/issues/issue-1/50_TIPS.html

14 lines
530 B
HTML

<article id="tips">
<div class="puffies" aria-hidden="true">🐡🐡🐡</div>
<h2>Shell tips</h2>
<p>
With the default shell ksh, you may have noticed typing
<code>history</code> would only display the last 10 lines of the
history. This happens because history is an alias for the command
<code>fc -l</code> which by default only displays the last 10 lines.
Giving a number as a parameter to this alias will display the
history from that number. Use <code>history 1</code> to display
the complete history.
</p>
</article>