20251128205912 push
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<article>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Re: My Top 10 Linux Commands</h1>
|
||||
<p class="date">2024-08-31T00:00:00-08:00</p>
|
||||
<p class="date">2024-08-31 00:00:00 -08:00</p>
|
||||
</header>
|
||||
<p>I came across <a href="https://www.garron.blog/notes/my-top-10-linux-commands.html">this post</a> by Guillermo Garron sharing how to see your most used shell commands. The post says “Linux Commands”, but this will work with any POSIX or POSIX adjacent shell. Just run the following command:</p>
|
||||
<pre class="shell"><code>history | awk '{print $2}' | sort | uniq -c | sort -nr | head -n 10</code></pre>
|
||||
|
||||
Reference in New Issue
Block a user