<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mastering the Terminal on Rietta Cybersecurity</title>
    <link>https://rietta.com/tags/mastering-the-terminal/</link>
    <description>Recent content in Mastering the Terminal on Rietta Cybersecurity</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>1999-2026 Rietta Inc. All Rights Reserved.</copyright>
    <atom:link href="https://rietta.com/tags/mastering-the-terminal/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Get and compare the current Git branch in BASH</title>
      <link>https://rietta.com/blog/get-and-compare-the-current-git-branch-in-bash/</link>
      <pubDate>Sun, 16 Feb 2014 18:33:06 -0500</pubDate>
      <guid>https://rietta.com/blog/get-and-compare-the-current-git-branch-in-bash/</guid>
      <description>&lt;p&gt;My favorite revision control system is &lt;a href=&#34;http://git-scm.com/&#34;&gt;Git&lt;/a&gt;. I use it to maintain all of my Ruby on Rails projects, my Linux system configuration, and even this blog!&lt;/p&gt;&#xA;&lt;p&gt;In my web development work, I like to automate as much as possible with BASH shell and Ruby scripts. This makes my work easier by replacing repetitive tasks with simple commands and reduces the instances of certain classes of mistakes in my daily workflow. One of those mistakes that I would like to avoid is accidentally publishing a draft post to the live website.&lt;/p&gt;&#xA;&lt;p&gt;**Here is how I use the value of the current Git branch to keep from accidentally publishing a post to the real website before it is ready!&#xA;**&lt;/p&gt;</description>
    </item>
    <item>
      <title>Reset MySQL Root Password with One Command</title>
      <link>https://rietta.com/blog/reset-mysql-root-password-on-ubuntu-linux/</link>
      <pubDate>Tue, 11 Feb 2014 11:47:45 -0500</pubDate>
      <guid>https://rietta.com/blog/reset-mysql-root-password-on-ubuntu-linux/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;https://rietta.com/images/posts/illustrations/locked_out.png&#34; alt=&#34;Locked Out, Again&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;I have locked myself out of important accounts more than a few times. Just this morning, I found myself again locked out of a MySQL database server on an Ubuntu Linux machine. Though this should work with any Debian-based Linux that uses the &lt;code&gt;apt-get&lt;/code&gt; package management system.&lt;/p&gt;&#xA;&lt;p&gt;Fortunately, I had administrative access to the server through SSH and thus was able to reset the MySQL root password with the package management script. &lt;strong&gt;It only took one, simple command&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
