<?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: Swayamprava Sahoo</title>
    <description>The latest articles on DEV Community by Swayamprava Sahoo (@swayamprava_sahoo_7a74301).</description>
    <link>https://dev.to/swayamprava_sahoo_7a74301</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4183985%2F5f150724-9cbe-4777-afa1-68dad985cb09.png</url>
      <title>DEV Community: Swayamprava Sahoo</title>
      <link>https://dev.to/swayamprava_sahoo_7a74301</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/swayamprava_sahoo_7a74301"/>
    <language>en</language>
    <item>
      <title>Linux from Scratch #2: Is Linux an Operating System or Just a Kernel?</title>
      <dc:creator>Swayamprava Sahoo</dc:creator>
      <pubDate>Wed, 14 Oct 2026 08:28:18 +0000</pubDate>
      <link>https://dev.to/swayamprava_sahoo_7a74301/linux-from-scratch-2-is-linux-an-operating-system-or-just-a-kernel-3a32</link>
      <guid>https://dev.to/swayamprava_sahoo_7a74301/linux-from-scratch-2-is-linux-an-operating-system-or-just-a-kernel-3a32</guid>
      <description>&lt;p&gt;When I first started learning Linux, I constantly heard two different statements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;"Linux is an operating system."&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;"Linux is just a kernel."&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At first, I thought one of them had to be wrong. After learning how Linux actually works, I realized both statements make sense depending on the context.&lt;/p&gt;

&lt;p&gt;Let's understand why.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is an Operating System?
&lt;/h2&gt;

&lt;p&gt;An operating system (OS) is the software that acts as a bridge between users, applications, and the computer's hardware.&lt;/p&gt;

&lt;p&gt;Without an operating system, applications wouldn't know how to communicate with the CPU, memory, keyboard, display, storage devices, or network hardware.&lt;/p&gt;

&lt;p&gt;An operating system provides services such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Process management&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Memory management&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;File management&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Device management&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Security and permissions&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Networking&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These services allow applications to run without worrying about the underlying hardware.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is a Kernel?
&lt;/h2&gt;

&lt;p&gt;The kernel is the core component of an operating system.&lt;/p&gt;

&lt;p&gt;Think of it as the manager that is always running in the background. Every program that needs hardware access must go through the kernel.&lt;/p&gt;

&lt;p&gt;The kernel is responsible for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Scheduling CPU time&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Allocating memory&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Managing devices using drivers&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Handling filesystems&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Managing processes&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enforcing permissions&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Providing system calls&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Applications cannot directly control hardware. Instead, they request services from the kernel.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Application
      │
System Calls
      │
Linux Kernel
      │
Hardware
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Then What Is Linux?
&lt;/h2&gt;

&lt;p&gt;Technically, &lt;strong&gt;Linux&lt;/strong&gt; refers to the Linux kernel created by Linus Torvalds in 1991.&lt;/p&gt;

&lt;p&gt;The kernel alone cannot provide a complete user experience.&lt;/p&gt;

&lt;p&gt;For example, the kernel cannot:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Let you type commands&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Display directories with &lt;code&gt;ls&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy files using &lt;code&gt;cp&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Edit files&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Browse the web&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It simply provides the core functionality needed for these programs to work.&lt;/p&gt;

&lt;h2&gt;
  
  
  So Where Do Commands Come From?
&lt;/h2&gt;

&lt;p&gt;Commands like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;ls
cp
mv
mkdir
grep
cat&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;are &lt;strong&gt;not part of the Linux kernel&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Most of these commands come from the &lt;strong&gt;GNU Project&lt;/strong&gt;, which provides many of the utilities we use every day.&lt;/p&gt;

&lt;p&gt;The shell (such as Bash) is also a separate program that lets us interact with the kernel.&lt;/p&gt;

&lt;p&gt;When you type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;ls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;the shell starts the &lt;code&gt;ls&lt;/code&gt; program, which eventually makes system calls to the Linux kernel. The kernel retrieves the directory information from the filesystem and returns it to the program, which displays it on your screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is a Linux Distribution?
&lt;/h2&gt;

&lt;p&gt;A Linux distribution combines everything needed to create a usable operating system.&lt;/p&gt;

&lt;p&gt;A typical distribution includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Linux kernel&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;GNU utilities&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Shell (Bash, Zsh, etc.)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Package manager&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;System libraries&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Desktop environment (optional)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Applications&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Ubuntu&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Debian&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fedora&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Arch Linux&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Linux Mint&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each distribution uses the Linux kernel but packages it with different software and tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Do Some People Say GNU/Linux?
&lt;/h2&gt;

&lt;p&gt;Richard Stallman and the GNU Project argue that most of the user-space tools come from GNU, while Linux is only the kernel.&lt;/p&gt;

&lt;p&gt;Because of this, some people prefer calling the complete operating system &lt;strong&gt;GNU/Linux&lt;/strong&gt; instead of simply Linux.&lt;/p&gt;

&lt;p&gt;Others use the shorter name "Linux" because it is more common.&lt;/p&gt;

&lt;p&gt;Both terms are widely used today, depending on the context.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Everything Fits Together
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;+-----------------------------+
| Applications                |
+-----------------------------+
| Shell (Bash)                |
+-----------------------------+
| GNU Utilities               |
+-----------------------------+
| System Libraries            |
+-----------------------------+
| Linux Kernel                |
+-----------------------------+
| Hardware                    |
+-----------------------------+
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;Before learning Linux, I assumed Linux itself contained every command I used.&lt;/p&gt;

&lt;p&gt;Now I understand that the Linux kernel is only the core of the operating system. The commands, shell, libraries, and applications are separate software that work together with the kernel to create the complete Linux experience.&lt;/p&gt;

&lt;p&gt;This also explains why different Linux distributions look and behave differently while sharing the same Linux kernel.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Linux is technically a &lt;strong&gt;kernel&lt;/strong&gt;, not a complete operating system by itself. However, in everyday conversation, people often use the word &lt;strong&gt;Linux&lt;/strong&gt; to refer to the complete operating system provided by Linux distributions.&lt;/p&gt;

&lt;p&gt;Understanding this distinction helped me better understand how Linux works internally and why different distributions can share the same kernel while offering different user experiences.&lt;/p&gt;

&lt;p&gt;In the next article, we'll explore how a Linux system boots—from pressing the power button to seeing the login prompt.&lt;/p&gt;

&lt;p&gt;See you in &lt;strong&gt;Linux from Scratch #3&lt;/strong&gt;!&lt;/p&gt;

</description>
      <category>linux</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Linux from Scratch #1: What is Unix? Why Was It Created?</title>
      <dc:creator>Swayamprava Sahoo</dc:creator>
      <pubDate>Wed, 14 Oct 2026 08:26:50 +0000</pubDate>
      <link>https://dev.to/swayamprava_sahoo_7a74301/linux-from-scratch-1-what-is-unix-why-was-it-created-7h7</link>
      <guid>https://dev.to/swayamprava_sahoo_7a74301/linux-from-scratch-1-what-is-unix-why-was-it-created-7h7</guid>
      <description>&lt;p&gt;Before understanding Linux, I realized I first needed to understand Unix.&lt;br&gt;
In my previous article, I shared how installing Ubuntu completely changed the way I thought about operating systems.&lt;/p&gt;

&lt;p&gt;As I started learning Linux, one word kept appearing everywhere:&lt;/p&gt;

&lt;p&gt;Unix.&lt;/p&gt;

&lt;p&gt;People would say things like:&lt;/p&gt;

&lt;p&gt;"Linux is Unix-like."&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;"macOS is based on Unix."&lt;/p&gt;

&lt;p&gt;That made me wonder:&lt;/p&gt;

&lt;p&gt;If Unix already existed, why was Linux created?&lt;/p&gt;

&lt;p&gt;To answer that question, I had to go back more than 50 years.&lt;/p&gt;

&lt;p&gt;Computing Before Unix&lt;/p&gt;

&lt;p&gt;In the 1960s, computers were very different from what we use today.&lt;/p&gt;

&lt;p&gt;A computer was a huge machine shared by many users, and every manufacturer had its own operating system.&lt;/p&gt;

&lt;p&gt;Programs written for one computer often wouldn't run on another.&lt;/p&gt;

&lt;p&gt;There was no common way to interact with computers.&lt;/p&gt;

&lt;p&gt;The Birth of Unix&lt;/p&gt;

&lt;p&gt;In 1969, researchers at Bell Labs, including Ken Thompson and later Dennis Ritchie, started building a new operating system.&lt;/p&gt;

&lt;p&gt;Their goal wasn't to create something complicated.&lt;/p&gt;

&lt;p&gt;They wanted an operating system that was:&lt;/p&gt;

&lt;p&gt;Simple&lt;/p&gt;

&lt;p&gt;Reliable&lt;/p&gt;

&lt;p&gt;Portable&lt;/p&gt;

&lt;p&gt;Easy for programmers to use&lt;/p&gt;

&lt;p&gt;That operating system became Unix.&lt;/p&gt;

&lt;p&gt;Many ideas introduced by Unix are still part of modern operating systems today.&lt;/p&gt;

&lt;p&gt;Ideas That Changed Computing&lt;/p&gt;

&lt;p&gt;Unix wasn't just another operating system.&lt;/p&gt;

&lt;p&gt;It introduced ideas that have survived for decades.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;Everything is treated like a file.&lt;/p&gt;

&lt;p&gt;Programs should do one job well.&lt;/p&gt;

&lt;p&gt;Programs should work together using pipes (|).&lt;/p&gt;

&lt;p&gt;Multi-user systems.&lt;/p&gt;

&lt;p&gt;Multi-tasking.&lt;/p&gt;

&lt;p&gt;A command-line shell.&lt;/p&gt;

&lt;p&gt;When I learned Linux commands like grep, sort, cat, and pipes, I realized these ideas actually came from Unix.&lt;/p&gt;

&lt;p&gt;Then Why Didn't Everyone Use Unix?&lt;/p&gt;

&lt;p&gt;This was my next question.&lt;/p&gt;

&lt;p&gt;If Unix was so good, why do we have Linux today?&lt;/p&gt;

&lt;p&gt;The answer is licensing.&lt;/p&gt;

&lt;p&gt;Unix was owned by AT&amp;amp;T.&lt;/p&gt;

&lt;p&gt;Over time, using Unix became expensive because companies had to purchase licenses.&lt;/p&gt;

&lt;p&gt;Many universities and developers wanted an operating system they could study, modify, and share freely.&lt;/p&gt;

&lt;p&gt;That problem eventually inspired the creation of projects like GNU and later Linux.&lt;/p&gt;

&lt;p&gt;We'll talk about those in the next articles.&lt;/p&gt;

&lt;p&gt;What I Learned&lt;/p&gt;

&lt;p&gt;Before writing this article, I thought Unix was simply an old operating system.&lt;/p&gt;

&lt;p&gt;Now I understand something much more important.&lt;/p&gt;

&lt;p&gt;Unix wasn't just software.&lt;/p&gt;

&lt;p&gt;It introduced ideas that still influence Linux, macOS, Android, and many other operating systems today.&lt;/p&gt;

&lt;p&gt;Learning Linux without understanding Unix felt like reading Chapter 2 without reading Chapter 1.&lt;/p&gt;

&lt;p&gt;I'm glad I went back to learn the history first.&lt;/p&gt;

&lt;p&gt;What's Next?&lt;/p&gt;

&lt;p&gt;In the next article, we'll answer one of the questions that confused me the most:&lt;/p&gt;

&lt;p&gt;Is Linux an operating system, or is it just a kernel?&lt;/p&gt;

&lt;p&gt;See you in Linux from Scratch #2.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>programming</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Welcome: Why I Started Learning Linux</title>
      <dc:creator>Swayamprava Sahoo</dc:creator>
      <pubDate>Wed, 14 Oct 2026 08:04:03 +0000</pubDate>
      <link>https://dev.to/swayamprava_sahoo_7a74301/welcome-why-i-started-learning-linux-h7n</link>
      <guid>https://dev.to/swayamprava_sahoo_7a74301/welcome-why-i-started-learning-linux-h7n</guid>
      <description>&lt;p&gt;When I joined MountBlue, one of the first things we were asked to do was dual boot Ubuntu.&lt;/p&gt;

&lt;p&gt;Before that, I had always used Windows. I had built several projects on it and, during college, I had only learned a few basic Linux commands like pwd, ls, and cd. To me, Linux was just another operating system that developers talked about.&lt;/p&gt;

&lt;p&gt;I also had many misconceptions.&lt;/p&gt;

&lt;p&gt;I thought Ubuntu, macOS, Windows, and Android were simply different operating systems with no deeper relationship. I had heard that most software companies preferred developers to use Ubuntu or macOS, but I never really understood why.&lt;/p&gt;

&lt;p&gt;Installing Ubuntu made me curious.&lt;/p&gt;

&lt;p&gt;I started asking questions like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Is Linux an operating system or just a kernel?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Why do people keep mentioning Unix and GNU?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Why do developers prefer Linux over Windows?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If Windows already has a terminal, why is Linux so popular among developers?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As I explored further, I realized something interesting.&lt;/p&gt;

&lt;p&gt;For most everyday users, the operating system is mainly a way to run applications through a graphical interface. Whether it's browsing the web, watching videos, or editing documents, everything is designed to be accessed through windows, icons, and menus.&lt;/p&gt;

&lt;p&gt;Software developers, however, often work in environments that are very different from a typical personal computer. They interact with remote servers, cloud machines, containers, and virtual machines—systems that often don't have a graphical desktop at all. In these environments, the command-line interface (CLI) becomes the primary way to work.&lt;/p&gt;

&lt;p&gt;That made me realize learning Linux isn't just about memorizing commands. It's about understanding how operating systems work and why developers rely on them every day.&lt;/p&gt;

&lt;p&gt;This series is my attempt to document that journey.&lt;/p&gt;

&lt;p&gt;I'm not writing these articles because I know Linux. I'm writing them because I'm learning Linux—and writing is helping me understand it better. If you're beginning your journey too, let's learn together.&lt;/p&gt;

&lt;p&gt;Welcome to Linux from Scratch.&lt;/p&gt;

&lt;p&gt;In the next article, we'll start from the very beginning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What exactly is Unix, and why did Linux even exist if Unix was already there?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;See you in Part 1.&lt;/p&gt;

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