<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Terminal on Linux Café</title>
    <link>https://mrtomlinux.org/tags/terminal/</link>
    <description>Recent content in Terminal on Linux Café</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 25 Jun 2026 08:23:45 +0200</lastBuildDate>
    <atom:link href="https://mrtomlinux.org/tags/terminal/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Taming My Terminal History: Customizing Bash History Behavior to Reduce Clutter</title>
      <link>https://mrtomlinux.org/post/2026-06-25-taming-my-terminal-history-customizing-bash-h/</link>
      <pubDate>Thu, 25 Jun 2026 08:23:45 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-06-25-taming-my-terminal-history-customizing-bash-h/</guid>
      <description>&lt;h2 id=&#34;introduction-to-terminal-history&#34;&gt;Introduction to Terminal History&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve gotten pretty used to relying on my terminal history to recall previously executed commands. But let&amp;rsquo;s be honest, over time this history can become a mess with unnecessary entries, making it tough to find what I need. In this article, I&amp;rsquo;ll cover how to customize Bash history behavior to reduce clutter and improve productivity.&lt;/p&gt;&#xA;&lt;h2 id=&#34;understanding-bash-history&#34;&gt;Understanding Bash History&lt;/h2&gt;&#xA;&lt;p&gt;Bash history is stored in a file specified by the &lt;code&gt;HISTFILE&lt;/code&gt; environment variable, which defaults to &lt;code&gt;~/.bash_history&lt;/code&gt;. Each time a command is executed, it gets appended to this file. The &lt;code&gt;HISTSIZE&lt;/code&gt; variable determines the maximum number of commands stored in memory, while &lt;code&gt;HISTFILESIZE&lt;/code&gt; sets the maximum number of commands written to the history file.&#xA;To view your current Bash history settings, you can use the following commands:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
