<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Fuck T8e C0de</title>
    <description>The latest articles on DEV Community by Fuck T8e C0de (@fuckt8ec0de).</description>
    <link>https://dev.to/fuckt8ec0de</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3424308%2F8881144f-e42b-4692-a367-6378f07c049c.jpeg</url>
      <title>DEV Community: Fuck T8e C0de</title>
      <link>https://dev.to/fuckt8ec0de</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fuckt8ec0de"/>
    <language>en</language>
    <item>
      <title>Bash Scripting — Chapter One part 1 | The bash2003 Book</title>
      <dc:creator>Fuck T8e C0de</dc:creator>
      <pubDate>Sat, 09 Aug 2025 22:13:43 +0000</pubDate>
      <link>https://dev.to/fuckt8ec0de/bash-scripting-chapter-one-part-1-the-bash2003-book-3a69</link>
      <guid>https://dev.to/fuckt8ec0de/bash-scripting-chapter-one-part-1-the-bash2003-book-3a69</guid>
      <description>&lt;p&gt;&lt;em&gt;[ Part One of Five ]&lt;/em&gt;&lt;br&gt;
A Short Beginning&lt;/p&gt;

&lt;h2&gt;
  
  
  Note Before We Begin
&lt;/h2&gt;

&lt;p&gt;This post is not a historical walkthrough.&lt;br&gt;
It’s simply a story-driven explanation to help you better understand what things like the shell, terminal, and Bash actually are — not when or how exactly they appeared.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;So… don’t look for perfect chronology here — look for clarity.&lt;br&gt;
Let’s begin.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  bash2003, a Simple Book
&lt;/h2&gt;

&lt;p&gt;Hello. This book starts with a very short introduction — short enough that I’ll just tell you about the name.&lt;/p&gt;

&lt;p&gt;It’s called bash2003. Why 2003? Because the first version of Bash was released on 08/06/1989, and if you add up those numbers (8+6+1989), you get 2003.&lt;br&gt;
It’s a small tribute to the day Bash was born.&lt;/p&gt;

&lt;p&gt;The book has 10 chapters and is written for beginners.&lt;/p&gt;

&lt;p&gt;Each post in this series will fully cover a single concept. I won’t stretch topics over multiple posts.&lt;/p&gt;

&lt;p&gt;First, I’ll explain the idea, then provide code, examples, and exercises and so on.&lt;/p&gt;

&lt;p&gt;The goal of this book is to teach Linux by learning Bash — because I believe it’s more practical that way, I think XD.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing Bash, the Terminal, and the Shell
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What is a Shell?
&lt;/h3&gt;

&lt;p&gt;Although this section is titled “Bash, Terminal, and Shell,” we need to understand the concept of the shell before diving into Bash.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Why do I say “minimal”?&lt;/strong&gt;&lt;br&gt;
Because without trying it out and explaining some deeper concepts later, I can’t offer a full introduction.&lt;br&gt;
That’s the point of writing this book online — to add Bash to our mental toolkit, to learn how to use it, and eventually to understand Linux more clearly.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The Early Days: Talking to Hardware
&lt;/h2&gt;

&lt;p&gt;In the early days, “computers” were machines with physical input/output slots.&lt;br&gt;
To activate a specific feature, you had to plug wires into specific ports.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu3at4o9xx78mmapvbmfv.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu3at4o9xx78mmapvbmfv.jpg" alt="yes, just watch the imitation game, You will see the giant computer and it’s damn wires!" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You were literally speaking to the hardware.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Rise of Operating Systems
&lt;/h2&gt;

&lt;p&gt;Then came operating systems — software that acted as an intermediary between humans and hardware.&lt;/p&gt;

&lt;p&gt;But even with operating systems, communication with computers was still difficult.&lt;br&gt;
You were still interacting with software in binary or technical ways.&lt;/p&gt;

&lt;p&gt;So the idea emerged: maybe we need something to help us get even closer to the system.&lt;br&gt;
Something like wearing a disguise — to become one of them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff9kxvv0fdr3a9qjslfnn.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff9kxvv0fdr3a9qjslfnn.jpg" alt="I mean this was the idea, just dressed like them!" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We needed a shell — a layer or suit that helps us “talk” to our computer in a way it understands.&lt;br&gt;
That’s what the shell does: it receives our commands and tells the OS how to execute them.&lt;/p&gt;

&lt;p&gt;This is where the name “shell” comes from — a kind of wrapper that enables communication.&lt;/p&gt;

&lt;p&gt;Shells can be graphical (like desktop environments), but the one we’ll focus on is &lt;strong&gt;text-based&lt;/strong&gt; — specifically Bash.&lt;/p&gt;

&lt;p&gt;So Bash is a shell — a program that lets us type commands instead of clicking.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Terminal
&lt;/h2&gt;

&lt;p&gt;Once the shell was developed, we needed hardware to use it. These were called &lt;strong&gt;terminals&lt;/strong&gt; — a keyboard and monitor connected to a central machine.&lt;/p&gt;

&lt;p&gt;This way, users could sit at a terminal and use the central computer by sending commands.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fckkjvrynpec00a1wxfj9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fckkjvrynpec00a1wxfj9.png" alt="An old terminal , pic by wikipedia" width="800" height="710"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Because computers were large and expensive, a company would buy one central system with many terminals so employees could all work on the same machine.&lt;/p&gt;

&lt;p&gt;But today, things are different.&lt;/p&gt;

&lt;p&gt;Now, every user has a complete PC or laptop. So we no longer need physical terminals.&lt;/p&gt;

&lt;p&gt;Instead, we use &lt;strong&gt;terminal emulators&lt;/strong&gt; — software that behaves like the old hardware terminals.&lt;/p&gt;

&lt;p&gt;This lets us use text-based shells like Bash inside our personal machines, while preserving the core functionality.&lt;br&gt;
Summary of This Chapter:&lt;/p&gt;

&lt;p&gt;All I wanted to say is :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Shell&lt;/strong&gt; is the interface between us and the OS. It receives our commands and passes them to the system.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bash&lt;/strong&gt; is one type of shell — a text-based one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Terminal&lt;/strong&gt; was once hardware used to access a shell. Today, we use software terminal emulators for the same purpose.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Exercise
&lt;/h2&gt;

&lt;p&gt;Take a moment to visualize the story of shell, Bash, and terminal (with the help of the Ai generated pic i provided for you).&lt;br&gt;
Try to replay the entire concept mentally using the images and metaphors.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftlt852eqtxp78yyh3zrh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftlt852eqtxp78yyh3zrh.png" alt="just start making story, this way you learn more. I promise." width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Final Words
&lt;/h3&gt;

&lt;p&gt;I hope this short story helped clarify the idea of Bash, shell, and terminal.&lt;/p&gt;

&lt;p&gt;This post is published under the CC-BY-SA license. You’re free to use or remix it.&lt;/p&gt;

&lt;p&gt;The next part will be published tomorrow.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>linux</category>
      <category>bash</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
