<?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: Jini</title>
    <description>The latest articles on DEV Community by Jini (@bytesbyjini).</description>
    <link>https://dev.to/bytesbyjini</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%2F3638200%2Fab9981ed-7b8e-4274-bd75-112ce32549e9.jpeg</url>
      <title>DEV Community: Jini</title>
      <link>https://dev.to/bytesbyjini</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bytesbyjini"/>
    <language>en</language>
    <item>
      <title>The Relationship Between the Terminal, CLI, Shell, and the Kernel</title>
      <dc:creator>Jini</dc:creator>
      <pubDate>Mon, 01 Dec 2025 07:24:18 +0000</pubDate>
      <link>https://dev.to/bytesbyjini/the-relationship-between-the-terminal-cli-shell-and-the-kernel-1h1b</link>
      <guid>https://dev.to/bytesbyjini/the-relationship-between-the-terminal-cli-shell-and-the-kernel-1h1b</guid>
      <description>&lt;p&gt;Lately, I've been refreshing my memory on Operating Systems, their different parts, and functions. I became confused about the exact &lt;u&gt;difference between a terminal and a Command Line Interface &lt;em&gt;(CLI)&lt;/em&gt;.&lt;/u&gt;  This entire time I've been thinking they're the same thing but turns out they're not 😬 &lt;/p&gt;

&lt;p&gt;After doing some research, I was able to understand the clear distinction between the two. I've found the analogy below helpful in making that distinction.&lt;/p&gt;

&lt;h2&gt;
  
  
  Analogy
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;You&lt;/strong&gt; go into a restaurant and notice they have various &lt;strong&gt;tablets&lt;/strong&gt; lined up at the counter for you to place your order. Each provides a UI displaying the restaurant's &lt;strong&gt;menu&lt;/strong&gt; as a set of selectable options. You go towards one, select a food category, choose an item, and place your order. &lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;restaurant's software system&lt;/strong&gt; then translates all your selections into a structured ticket that prints out for the &lt;strong&gt;kitchen&lt;/strong&gt; staff to read and prepare your order.&lt;/p&gt;

&lt;h2&gt;
  
  
  Metaphor Breakdown
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;You&lt;/strong&gt; = User who is inputing a request&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tablet&lt;/strong&gt; = Terminal &lt;br&gt;
The &lt;em&gt;&lt;u&gt;environment/interface&lt;/u&gt;&lt;/em&gt; where the &lt;u&gt;interaction&lt;/u&gt; happens between you &lt;em&gt;(user)&lt;/em&gt; and the kitchen staff &lt;em&gt;(kernel)&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Menu&lt;/strong&gt; =  CLI &lt;br&gt;
The &lt;em&gt;&lt;u&gt;method&lt;/u&gt;&lt;/em&gt; of communication that allows you to input a set of commands &lt;em&gt;(selectable options)&lt;/em&gt;  to interact with the kitchen. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Restaurant's software system&lt;/strong&gt; = Shell &lt;br&gt;
A &lt;em&gt;&lt;u&gt;program&lt;/u&gt;&lt;/em&gt; that translates your input into a format that the kitchen staff can better understand.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Kitchen&lt;/strong&gt; = Kernel &lt;br&gt;
The heart of the restaurant, which receives the "translated" order and executes it. &lt;/p&gt;

&lt;h2&gt;
  
  
  Technical Explanation
&lt;/h2&gt;

&lt;p&gt;When a user opens a terminal window, it starts a shell program, which provides the user with a CLI: a text-based method of interaction that allows the user to run a set of commands.&lt;/p&gt;

&lt;p&gt;The user then enters text-based commands → the shell translates them into a format that the kernel understands → sends them to the kernel → kernel executes them → the result/output is displayed in the terminal window.&lt;/p&gt;

&lt;p&gt;These components are interconnected, but they all play a unique role in providing us with a simple way of interacting with our computer's hardware.&lt;/p&gt;

</description>
      <category>cli</category>
      <category>terminal</category>
      <category>shell</category>
      <category>kernel</category>
    </item>
  </channel>
</rss>
