paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d2f40ae00d0d61fd55f6cb5c778c3159b3f43e52
parent 0e651210a8a7d4ed3eb2091550c4fb2ac13c1f56
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri, 21 Aug 2020 19:34:51 -0400

Publish new blog post

Diffstat:
Mpages/blog.md | 1+
Apages/blog/my-top-10-most-used-commands.md | 58++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mpages/home.md | 4++--
Mpublic/feeds/sitewide-feed.xml | 28++++++++++++++++++++++++++++
Mpublic/sitemap.xml | 1+
5 files changed, 90 insertions(+), 2 deletions(-)

diff --git a/pages/blog.md b/pages/blog.md @@ -27,6 +27,7 @@ href="https://pleroma.paritybit.ca/jbauer">Pleroma</a>. ### 2020 <ul> + <li>2020-08-21 <a href="blog/my-top-10-most-used-commands">My Top 10 Most Used Commands</a></li> <li>2020-08-14 <a href="blog/the-hacker-quarterly-magazine">The Hacker Quarterly Magazine</a></li> <li>2020-08-13 <a href="blog/ethical-investing">Ethical Investing</a></li> <li>2020-08-12 <a href="blog/choosing-an-investment-brokerage">Choosing An Investment Brokerage</a></li> diff --git a/pages/blog/my-top-10-most-used-commands.md b/pages/blog/my-top-10-most-used-commands.md @@ -0,0 +1,58 @@ +## My Top 10 Most Used Commands + +[//]: # "A fun thing I came across today while browsing r\/linux: What are your top 10 most used CLI commands?" + +[//]: # "main.min.css" + +[//]: # + +<div class="byline"> +<b>Written By:</b> Jake Bauer | + <b>Posted:</b> 2020-08-21 | + <b>Last Updated:</b> 2020-08-21 +</div> + +Another fun thing I came across recently, this time on r/linux: [What are your +top 10 most used CLI +commands?](https://old.reddit.com/r/linux/comments/idrfo3/for_fun_what_are_your_top_10_most_used_cli/). +I know I should stop browsing Reddit... it's just such a good time-waster. + +I was curious to see which commands I run most often so I ran the following on +my main desktop: + +```bash +history | awk '{print $2}' | sort | uniq -c | sort -nr | head -n 10 +``` + +It came up with the following: + +``` +1080 ls +832 git +769 vi +708 cd +452 sudo +280 ./compile +259 rm +215 ssh +110 config +109 mv +``` + +You can probably guess what I do most with my computer... + +Most of them are standard commands except for `./compile` and `config`. +`./compile` is what I run when I compile anything for my website (like this blog +post you're reading, for example) and `config` is the alias I have to work with +the [git repository I have for my +dotifles](https://www.paritybit.ca/blog/how-i-manage-my-dotfiles). + +I'm curious what your most commonly used CLI commands are. Let me know in [this +thread on the Fediverse](https://pleroma.paritybit.ca/notice/9yMX21YNjbElElYgUq) +(or [by email](mailto:jbauer@paritybit.ca), if you want). + +_This is my ninety-fifth post for the +[#100DaysToOffload](https://social.paritybit.ca/tags/100DaysToOffload) +challenge. You can learn more about this challenge over at +[https://100daystooffload.com](https://100daystooffload.com)._ + diff --git a/pages/home.md b/pages/home.md @@ -18,6 +18,8 @@ This site will soon™️ be available over Gopher and Gemini. <a class="rss-icon" href="/feeds/sitewide-feed.xml"> <img src="/img/feed-icon.png" width="15" height="15" alt="Click for RSS Feed"/> </a> </div> +2020-08-21 <a class="feed-item" href="blog/my-top-10-most-used-commands">My Top 10 Most Used Commands</a> + 2020-08-14 <a class="feed-item" href="blog/the-hacker-quarterly-magazine">The Hacker Quarterly Magazine</a> 2020-08-13 <a class="feed-item" href="blog/ethical-investing">Ethical Investing</a> @@ -36,8 +38,6 @@ This site will soon™️ be available over Gopher and Gemini. 2020-08-06 <a class="feed-item" href="blog/adding-image-optimization-to-my-static-site-generator">Adding Image Optimization to My Static Site Generator</a> -2020-08-05 <a class="feed-item" href="blog/use-xterm-256color-with-alacritty">Use xterm-256color With Alacritty For Better ls Output</a> - ### What is a Parity Bit? It is a bit (in the 1's and 0's sense) used in checking for errors in digital diff --git a/public/feeds/sitewide-feed.xml b/public/feeds/sitewide-feed.xml @@ -7,6 +7,34 @@ <description>The feed that covers all notable additions, updates, announcements, and other changes for the entire paritybit.ca website.</description> <item> + <title>My Top 10 Most Used Commands</title> + <link>https://www.paritybit.ca/blog/my-top-10-most-used-commands</link> + <guid>https://www.paritybit.ca/blog/my-top-10-most-used-commands</guid> + <pubDate>Fri, 21 Aug 2020 19:32:19 -0400</pubDate> + <description><![CDATA[<h2 id="my-top-10-most-used-commands">My Top 10 Most Used Commands</h2> +<div class="byline"> +<p><b>Written By:</b> Jake Bauer | <b>Posted:</b> 2020-08-21 | <b>Last Updated:</b> 2020-08-21</p> +</div> +<p>Another fun thing I came across recently, this time on r/linux: <a href="https://old.reddit.com/r/linux/comments/idrfo3/for_fun_what_are_your_top_10_most_used_cli/">What are your top 10 most used CLI commands?</a>. I know I should stop browsing Reddit… it’s just such a good time-waster.</p> +<p>I was curious to see which commands I run most often so I ran the following on my main desktop:</p> +<div class="sourceCode" id="cb1"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true"></a><span class="bu">history</span> <span class="kw">|</span> <span class="fu">awk</span> <span class="st">&#39;{print $2}&#39;</span> <span class="kw">|</span> <span class="fu">sort</span> <span class="kw">|</span> <span class="fu">uniq</span> -c <span class="kw">|</span> <span class="fu">sort</span> -nr <span class="kw">|</span> <span class="fu">head</span> -n 10</span></code></pre></div> +<p>It came up with the following:</p> +<pre><code>1080 ls +832 git +769 vi +708 cd +452 sudo +280 ./compile +259 rm +215 ssh +110 config +109 mv</code></pre> +<p>You can probably guess what I do most with my computer…</p> +<p>Most of them are standard commands except for <code>./compile</code> and <code>config</code>. <code>./compile</code> is what I run when I compile anything for my website (like this blog post you’re reading, for example) and <code>config</code> is the alias I have to work with the <a href="https://www.paritybit.ca/blog/how-i-manage-my-dotfiles">git repository I have for my dotifles</a>.</p> +<p>I’m curious what your most commonly used CLI commands are. Let me know in <a href="https://pleroma.paritybit.ca/notice/9yMX21YNjbElElYgUq">this thread on the Fediverse</a> (or <a href="mailto:jbauer@paritybit.ca">by email</a>, if you want).</p> +<p><em>This is my ninety-fifth post for the <a href="https://social.paritybit.ca/tags/100DaysToOffload">#100DaysToOffload</a> challenge. You can learn more about this challenge over at <a href="https://100daystooffload.com">https://100daystooffload.com</a>.</em></p>]]></description> + </item> +<item> <title>The Hacker Quarterly Magazine</title> <link>https://www.paritybit.ca/blog/the-hacker-quarterly-magazine</link> <guid>https://www.paritybit.ca/blog/the-hacker-quarterly-magazine</guid> diff --git a/public/sitemap.xml b/public/sitemap.xml @@ -3,6 +3,7 @@ <url><loc>https://www.paritybit.ca</loc></url> <url><loc>https://www.paritybit.ca/home</loc></url> <url><loc>https://www.paritybit.ca/blog</loc></url> + <url><loc>https://www.paritybit.ca/blog/my-top-10-most-used-commands</loc></url> <url><loc>https://www.paritybit.ca/blog/the-hacker-quarterly-magazine</loc></url> <url><loc>https://www.paritybit.ca/blog/ethical-investing</loc></url> <url><loc>https://www.paritybit.ca/blog/choosing-an-investment-brokerage</loc></url>