<?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: Snigdha OS</title>
    <description>The latest articles on DEV Community by Snigdha OS (snigdhaos).</description>
    <link>https://dev.to/snigdhaos</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%2Forganization%2Fprofile_image%2F9946%2Fddd9eed7-fe2d-47a8-92ae-af320602e55e.png</url>
      <title>DEV Community: Snigdha OS</title>
      <link>https://dev.to/snigdhaos</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/snigdhaos"/>
    <language>en</language>
    <item>
      <title>Introducing Snigdha OS Decentralize: A Privacy-First Arch Linux Operating System</title>
      <dc:creator>Eshan Roy (eshanized)</dc:creator>
      <pubDate>Sat, 14 Nov 2026 08:23:57 +0000</pubDate>
      <link>https://dev.to/snigdhaos/introducing-snigdha-os-decentralize-a-privacy-first-arch-linux-operating-system-45a4</link>
      <guid>https://dev.to/snigdhaos/introducing-snigdha-os-decentralize-a-privacy-first-arch-linux-operating-system-45a4</guid>
      <description>&lt;p&gt;What if your operating system was designed to forget by default?&lt;/p&gt;

&lt;p&gt;Most conventional operating systems are designed around persistence. They remember your files, application history, caches, configurations, network activity, and previous sessions. This is convenient for everyday computing, but there are situations where leaving less information behind is a fundamental requirement.&lt;/p&gt;

&lt;p&gt;Privacy should not depend entirely on individual application settings. It should be considered at the operating system level.&lt;/p&gt;

&lt;p&gt;Today, we're excited to introduce Snigdha OS Decentralize, a new initiative from the Snigdha OS project focused on building a privacy-first, security-oriented Linux operating system.&lt;/p&gt;

&lt;p&gt;Our goal is ambitious: develop an Arch Linux-based live operating system that combines amnesic computing, fail-closed network privacy, encrypted persistence, application isolation, and verifiable software supply chains into one integrated environment.&lt;/p&gt;

&lt;p&gt;And we've just published our first public release candidate.&lt;/p&gt;

&lt;p&gt;Welcome to Snigdha OS Decentralize.&lt;/p&gt;

&lt;p&gt;What is Snigdha OS Decentralize?&lt;/p&gt;

&lt;p&gt;Snigdha OS Decentralize is an independent Arch Linux-based live operating system designed around privacy, anonymity, and security-conscious computing.&lt;/p&gt;

&lt;p&gt;It isn't simply another Arch Linux distribution with a different desktop theme and a collection of preinstalled applications.&lt;/p&gt;

&lt;p&gt;We are building an integrated security architecture where the operating system itself participates in enforcing privacy boundaries.&lt;/p&gt;

&lt;p&gt;The project brings together several major subsystems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Snigdha Amnesia: Volatile, RAM-backed operating system sessions.&lt;/li&gt;
&lt;li&gt;Snigdha NetGuard: System-wide Tor traffic enforcement and fail-closed networking.&lt;/li&gt;
&lt;li&gt;Snigdha Persistence: Optional encrypted storage using LUKS2 and Argon2id.&lt;/li&gt;
&lt;li&gt;Snigdha Isolation: Application confinement using Bubblewrap, AppArmor, seccomp, and D-Bus filtering.&lt;/li&gt;
&lt;li&gt;Snigdha Security Center: A centralized interface for system security management.&lt;/li&gt;
&lt;li&gt;Snigdha Penetration Center: A curated environment for authorized security testing.&lt;/li&gt;
&lt;li&gt;Verified Boot and Supply Chain: Cryptographic boot integrity and verifiable release artifacts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These components are designed to work together rather than operate as unrelated applications.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Amnesia: An operating system designed to forget&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Snigdha Amnesia is one of the most important components of this project.&lt;/p&gt;

&lt;p&gt;The fundamental idea is simple: the default live session should not leave normal operating system changes behind after shutdown.&lt;/p&gt;

&lt;p&gt;Instead of allowing the writable root filesystem to modify the underlying storage directly, Snigdha OS uses a read-only system image with a volatile OverlayFS upper layer backed by RAM.&lt;/p&gt;

&lt;p&gt;The architecture looks conceptually like this:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;             SNIGDHA AMNESIA

        Read-only system image
                 |
                 v
             OverlayFS
                 |
         +-------+-------+
         |               |
         v               v
   Read-only layer   Writable layer
      (EROFS)         (RAM / tmpfs)
                         |
                         v
                   Live session
                         |
                         v
                   System shutdown
                         |
                         v
              Volatile session discarded
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This means ordinary session changes, application caches, temporary files, and user configuration changes are intended to disappear when the system shuts down.&lt;/p&gt;

&lt;p&gt;The architecture also includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RAM-backed volatile filesystem layers.&lt;/li&gt;
&lt;li&gt;Disabled swap and hibernation.&lt;/li&gt;
&lt;li&gt;Protection against unintended internal disk mounting.&lt;/li&gt;
&lt;li&gt;Early-boot checks for critical filesystem invariants.&lt;/li&gt;
&lt;li&gt;Shutdown-time memory sanitization measures.&lt;/li&gt;
&lt;li&gt;A watchdog mechanism for removable-media events.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Amnesia is not just a cleanup script. It is integrated into the boot process, initramfs, filesystem layout, system services, and shutdown lifecycle.&lt;/p&gt;

&lt;p&gt;The objective is to make session volatility a system-level property.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;NetGuard: Network privacy enforced at the kernel level&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Installing Tor Browser is not equivalent to protecting the entire operating system's network traffic.&lt;/p&gt;

&lt;p&gt;A terminal application, background daemon, package manager, or another application could still attempt to connect directly to the internet.&lt;/p&gt;

&lt;p&gt;This is the problem Snigdha NetGuard is designed to address.&lt;/p&gt;

&lt;p&gt;NetGuard uses Linux nftables rules to enforce a Tor-oriented networking policy across the operating system.&lt;/p&gt;

&lt;p&gt;Its core principle:&lt;/p&gt;

&lt;p&gt;Applications should either use the approved Tor network path or have their traffic blocked.&lt;/p&gt;

&lt;p&gt;The architecture includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Transparent TCP redirection through Tor.&lt;/li&gt;
&lt;li&gt;Dedicated DNS handling.&lt;/li&gt;
&lt;li&gt;nftables-based network enforcement.&lt;/li&gt;
&lt;li&gt;Fail-closed behavior when Tor becomes unavailable.&lt;/li&gt;
&lt;li&gt;IPv6 and UDP leakage controls.&lt;/li&gt;
&lt;li&gt;Tor circuit isolation for different classes of applications.&lt;/li&gt;
&lt;li&gt;Secure time synchronization over Tor-routed connections.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We are also integrating support for Tor bridges and pluggable transports.&lt;/p&gt;

&lt;p&gt;Depending on the installed transport clients, the system can support:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Standard Tor bridges.&lt;/li&gt;
&lt;li&gt;obfs4.&lt;/li&gt;
&lt;li&gt;Snowflake.&lt;/li&gt;
&lt;li&gt;WebTunnel.&lt;/li&gt;
&lt;li&gt;Additional runtime-detected transports.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Users can explicitly control the Tor connection lifecycle through the desktop interface and command-line tooling.&lt;/p&gt;

&lt;p&gt;An important design decision is that network connectivity should not silently fall back to ordinary direct internet access when Tor fails.&lt;/p&gt;

&lt;p&gt;When the network security boundary is unavailable, the intended behavior is to block traffic rather than silently weaken the privacy configuration.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Encrypted persistence: Keep what matters, forget everything else&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A completely volatile operating system is useful, but users sometimes need to retain selected information across sessions.&lt;/p&gt;

&lt;p&gt;That's why we developed Snigdha Persistence.&lt;/p&gt;

&lt;p&gt;Instead of making the entire operating system persistent, we provide an optional encrypted storage mechanism based on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;LUKS2.&lt;/li&gt;
&lt;li&gt;AES-XTS encryption.&lt;/li&gt;
&lt;li&gt;Argon2id key derivation.&lt;/li&gt;
&lt;li&gt;Selective persistence mounts.&lt;/li&gt;
&lt;li&gt;Encrypted header backups.&lt;/li&gt;
&lt;li&gt;Recovery and lifecycle management.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Users can selectively preserve data such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Personal documents.&lt;/li&gt;
&lt;li&gt;SSH identities.&lt;/li&gt;
&lt;li&gt;GnuPG keyrings.&lt;/li&gt;
&lt;li&gt;Application configurations.&lt;/li&gt;
&lt;li&gt;Authorized security-testing configurations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The rest of the operating system can remain volatile.&lt;/p&gt;

&lt;p&gt;We consider this distinction important. Persistence should be an explicit decision, not an unavoidable default.&lt;/p&gt;

&lt;p&gt;There is also an important security consideration: persistence protects stored data while locked, but it does not protect unlocked files from a compromised active session. Persisting long-term identities can also make sessions more linkable.&lt;/p&gt;

&lt;p&gt;Our documentation addresses these operational boundaries rather than presenting encryption as a universal security solution.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Application isolation and sandboxing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Application isolation is another major part of our security architecture.&lt;/p&gt;

&lt;p&gt;Traditional Linux permissions alone are not always sufficient when dealing with untrusted applications.&lt;/p&gt;

&lt;p&gt;Snigdha Isolation combines several Linux security mechanisms:&lt;/p&gt;

&lt;p&gt;Technology| Responsibility&lt;br&gt;
Bubblewrap| Namespaces and application sandboxing&lt;br&gt;
AppArmor| Mandatory access control&lt;br&gt;
seccomp-BPF| System-call filtering&lt;br&gt;
xdg-dbus-proxy| D-Bus interface filtering&lt;br&gt;
systemd hardening| Service-level restrictions&lt;/p&gt;

&lt;p&gt;Applications can receive restricted filesystem views, isolated process namespaces, limited system interfaces, and controlled network access.&lt;/p&gt;

&lt;p&gt;The objective is to reduce the damage an application can cause if it becomes compromised.&lt;/p&gt;

&lt;p&gt;We also want to be transparent about the current desktop architecture.&lt;/p&gt;

&lt;p&gt;The present i3wm edition uses X11. X11 has an inherent shared-display trust model, meaning sandboxed graphical applications that access the host display can potentially observe or interact with other windows.&lt;/p&gt;

&lt;p&gt;Filesystem and process sandboxing do not eliminate this limitation. We document it explicitly rather than claiming complete graphical application isolation.&lt;/p&gt;

&lt;p&gt;Security engineering requires acknowledging what a system cannot currently protect against.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Verified boot and software supply-chain integrity&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A security-focused operating system should not only consider what happens after boot.&lt;/p&gt;

&lt;p&gt;It should also consider whether the system being booted can be trusted.&lt;/p&gt;

&lt;p&gt;Snigdha OS integrates multiple layers of boot and release integrity:&lt;/p&gt;

&lt;p&gt;Unified Kernel Images (UKI)&lt;/p&gt;

&lt;p&gt;The kernel, initramfs, and boot configuration are packaged into a unified boot artifact designed for cryptographic verification.&lt;/p&gt;

&lt;p&gt;UEFI Secure Boot&lt;/p&gt;

&lt;p&gt;Signed boot artifacts establish a cryptographic trust relationship during the boot process.&lt;/p&gt;

&lt;p&gt;dm-verity&lt;/p&gt;

&lt;p&gt;A Merkle-tree-based integrity mechanism protects the read-only root filesystem against unauthorized modifications.&lt;/p&gt;

&lt;p&gt;Software Bill of Materials (SBOM)&lt;/p&gt;

&lt;p&gt;Release artifacts include an SPDX 2.3 software bill of materials describing packaged software components.&lt;/p&gt;

&lt;p&gt;Build provenance&lt;/p&gt;

&lt;p&gt;We include SLSA v1.0 / in-toto provenance artifacts to improve build traceability.&lt;/p&gt;

&lt;p&gt;OpenPGP signatures&lt;/p&gt;

&lt;p&gt;Release artifacts and associated verification metadata are accompanied by cryptographic signatures.&lt;/p&gt;

&lt;p&gt;Our objective is to make release integrity independently verifiable instead of asking users to blindly trust a download link.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A desktop designed around productivity&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Security doesn't mean sacrificing usability.&lt;/p&gt;

&lt;p&gt;Snigdha OS currently uses a lightweight, keyboard-driven i3wm desktop environment with the Everblush visual palette.&lt;/p&gt;

&lt;p&gt;The desktop includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;i3 window management.&lt;/li&gt;
&lt;li&gt;Picom compositor.&lt;/li&gt;
&lt;li&gt;Polybar.&lt;/li&gt;
&lt;li&gt;Rofi application launcher.&lt;/li&gt;
&lt;li&gt;Kitty and Alacritty terminals.&lt;/li&gt;
&lt;li&gt;Dunst notifications.&lt;/li&gt;
&lt;li&gt;Thunar file manager.&lt;/li&gt;
&lt;li&gt;Native GTK4 security-management interfaces.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We have also integrated dedicated shortcuts for important system components, making it possible to manage security-related operations without navigating through multiple unrelated applications.&lt;/p&gt;

&lt;p&gt;Two particularly important applications are:&lt;/p&gt;

&lt;p&gt;Snigdha Security Center&lt;/p&gt;

&lt;p&gt;A centralized interface for monitoring and managing important system security components.&lt;/p&gt;

&lt;p&gt;Snigdha Penetration Center&lt;/p&gt;

&lt;p&gt;A curated environment for security auditing and authorized penetration-testing workflows.&lt;/p&gt;

&lt;p&gt;The Penetration Center includes a categorized security-tool ecosystem with documentation and ethical usage considerations.&lt;/p&gt;

&lt;p&gt;We want security management to feel like a coherent part of the operating system rather than a collection of disconnected scripts.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Built on Arch Linux, with an independent architecture&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Why Arch Linux?&lt;/p&gt;

&lt;p&gt;We wanted a distribution foundation that gives us control over packages, system configuration, kernel integration, and the overall build process.&lt;/p&gt;

&lt;p&gt;ArchISO provides the foundation for building the live image, while our own engineering work handles the privacy and security subsystems.&lt;/p&gt;

&lt;p&gt;The project uses a combination of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Bash for system integration and build orchestration.&lt;/li&gt;
&lt;li&gt;Python for selected system services and tooling.&lt;/li&gt;
&lt;li&gt;Rust for native system applications and security-related components.&lt;/li&gt;
&lt;li&gt;GTK4 for desktop interfaces.&lt;/li&gt;
&lt;li&gt;systemd for service lifecycle management.&lt;/li&gt;
&lt;li&gt;nftables for network enforcement.&lt;/li&gt;
&lt;li&gt;Linux namespaces and security mechanisms for confinement.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We are not simply maintaining a collection of desktop customizations.&lt;/p&gt;

&lt;p&gt;We are developing an independent operating system architecture and the applications required to manage it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The first public Release Candidate is available&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We have published Snigdha OS Decentralized 2026.11.13-rc1.&lt;/p&gt;

&lt;p&gt;Release information&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Release: "2026.11.13-rc1"&lt;/li&gt;
&lt;li&gt;Tag: "v2026.11.13-rc1"&lt;/li&gt;
&lt;li&gt;Architecture: "x86_64"&lt;/li&gt;
&lt;li&gt;Release channel: Candidate&lt;/li&gt;
&lt;li&gt;ISO size: Approximately 1.4 GiB&lt;/li&gt;
&lt;li&gt;License: GPL-3.0-or-later&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Download and explore:&lt;/p&gt;

&lt;p&gt;"Download Snigdha OS Decentralize — Release Candidate 1" (&lt;a href="https://gitlab.com/SnigdhaOS/decentralize/iso/-/releases/v2026.11.13-rc1" rel="noopener noreferrer"&gt;https://gitlab.com/SnigdhaOS/decentralize/iso/-/releases/v2026.11.13-rc1&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;"Explore the ISO repository" (&lt;a href="https://gitlab.com/SnigdhaOS/decentralize/iso" rel="noopener noreferrer"&gt;https://gitlab.com/SnigdhaOS/decentralize/iso&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Verify before booting&lt;/p&gt;

&lt;p&gt;Please do not skip release verification.&lt;/p&gt;

&lt;p&gt;Download the ISO, checksum manifests, signing key, and detached signatures from the official release.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Import the release signing key
&lt;/h2&gt;

&lt;p&gt;gpg --import release-signing-key.asc&lt;/p&gt;

&lt;h1&gt;
  
  
  Verify the checksum manifest signature
&lt;/h1&gt;

&lt;p&gt;gpg --verify SHA256SUMS.sig SHA256SUMS&lt;/p&gt;

&lt;h1&gt;
  
  
  Verify the ISO checksum
&lt;/h1&gt;

&lt;p&gt;sha256sum -c SHA256SUMS --ignore-missing&lt;/p&gt;

&lt;h1&gt;
  
  
  Verify the ISO's detached signature
&lt;/h1&gt;

&lt;p&gt;gpg --verify \&lt;br&gt;
  snigdhaos-decentralize-2026.11.13-x86_64.iso.sig \&lt;br&gt;
  snigdhaos-decentralize-2026.11.13-x86_64.iso&lt;/p&gt;

&lt;p&gt;Before trusting the signing key, independently confirm its published fingerprint:&lt;/p&gt;

&lt;p&gt;2BDB 00AE 6CAB EF0E 4052&lt;br&gt;
0A8F 553F D42B 02A8 211A&lt;/p&gt;

&lt;p&gt;For complete instructions, consult the "official release verification guide" (&lt;a href="https://gitlab.com/SnigdhaOS/decentralize/iso/-/blob/v2026.11.13-rc1/docs/getting-started/RELEASE-VERIFICATION.md" rel="noopener noreferrer"&gt;https://gitlab.com/SnigdhaOS/decentralize/iso/-/blob/v2026.11.13-rc1/docs/getting-started/RELEASE-VERIFICATION.md&lt;/a&gt;).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Transparency: What this release is, and what it isn't&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We want to be very clear about the current development status.&lt;/p&gt;

&lt;p&gt;Snigdha OS Decentralized is currently a Release Candidate, not a stable production release.&lt;/p&gt;

&lt;p&gt;Our internal engineering and verification milestones have been completed to the project's current release-candidate requirements. However, the project's release governance explicitly blocks stable promotion until an independent, accredited third-party security audit has been completed.&lt;/p&gt;

&lt;p&gt;There are also documented security limitations, including the shared X11 display boundary and risks associated with unlocked persistent storage.&lt;/p&gt;

&lt;p&gt;We encourage developers, Linux enthusiasts, privacy researchers, and security professionals to evaluate the project, inspect its source code, and provide feedback.&lt;/p&gt;

&lt;p&gt;However, this release candidate should not be treated as an independently audited anonymity solution or relied upon for high-risk operational security.&lt;/p&gt;

&lt;p&gt;We believe being transparent about security limitations is more valuable than making impressive but unverified marketing claims.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;We want the open-source community involved&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Snigdha OS Decentralize is an open-source engineering effort.&lt;/p&gt;

&lt;p&gt;We don't want this project to develop in isolation.&lt;/p&gt;

&lt;p&gt;There are several areas where community contributions can make a meaningful difference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Linux kernel and initramfs engineering.&lt;/li&gt;
&lt;li&gt;Tor integration and network security.&lt;/li&gt;
&lt;li&gt;Rust system applications.&lt;/li&gt;
&lt;li&gt;Linux application sandboxing.&lt;/li&gt;
&lt;li&gt;LUKS2 and encrypted storage management.&lt;/li&gt;
&lt;li&gt;Secure boot and boot-chain verification.&lt;/li&gt;
&lt;li&gt;Hardware compatibility testing.&lt;/li&gt;
&lt;li&gt;Documentation and reproducible builds.&lt;/li&gt;
&lt;li&gt;Security reviews and responsible vulnerability disclosure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can start by exploring our repositories and reading the project documentation.&lt;/p&gt;

&lt;p&gt;Project resources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Snigdha OS Decentralize — GitLab Group" (&lt;a href="https://gitlab.com/SnigdhaOS/decentralize" rel="noopener noreferrer"&gt;https://gitlab.com/SnigdhaOS/decentralize&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;"ISO and system architecture" (&lt;a href="https://gitlab.com/SnigdhaOS/decentralize/iso" rel="noopener noreferrer"&gt;https://gitlab.com/SnigdhaOS/decentralize/iso&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;"Documentation repository" (&lt;a href="https://gitlab.com/SnigdhaOS/decentralize/docs" rel="noopener noreferrer"&gt;https://gitlab.com/SnigdhaOS/decentralize/docs&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;"Official website" (&lt;a href="https://decentralize.snigdhaos.org" rel="noopener noreferrer"&gt;https://decentralize.snigdhaos.org&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;"Documentation portal" (&lt;a href="https://decentralize.snigdhaos.org/docs" rel="noopener noreferrer"&gt;https://decentralize.snigdhaos.org/docs&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To build the operating system from source on an Arch Linux host:&lt;/p&gt;

&lt;p&gt;git clone &lt;a href="https://gitlab.com/SnigdhaOS/decentralize/iso.git" rel="noopener noreferrer"&gt;https://gitlab.com/SnigdhaOS/decentralize/iso.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;cd iso&lt;/p&gt;

&lt;h1&gt;
  
  
  Validate the build environment
&lt;/h1&gt;

&lt;p&gt;make check-host&lt;/p&gt;

&lt;h1&gt;
  
  
  Execute the automated test suites
&lt;/h1&gt;

&lt;p&gt;make test&lt;/p&gt;

&lt;h1&gt;
  
  
  Build the live ISO
&lt;/h1&gt;

&lt;p&gt;make build&lt;/p&gt;

&lt;h1&gt;
  
  
  Verify release outputs
&lt;/h1&gt;

&lt;p&gt;make release-verify&lt;/p&gt;

&lt;p&gt;Please read the contribution guidelines before submitting changes:&lt;/p&gt;

&lt;p&gt;"Contributing to Snigdha OS Decentralize" (&lt;a href="https://gitlab.com/SnigdhaOS/decentralize/iso/-/blob/v2026.11.13-rc1/CONTRIBUTING.md" rel="noopener noreferrer"&gt;https://gitlab.com/SnigdhaOS/decentralize/iso/-/blob/v2026.11.13-rc1/CONTRIBUTING.md&lt;/a&gt;)&lt;/p&gt;

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

&lt;p&gt;The Release Candidate is an important milestone, but it is not the end of the project.&lt;/p&gt;

&lt;p&gt;Our continued development priorities include refining the security architecture, expanding hardware compatibility, improving the desktop experience, strengthening application isolation, improving release infrastructure, and preparing for independent external security evaluation.&lt;/p&gt;

&lt;p&gt;We also want to keep growing the surrounding Snigdha OS ecosystem, including its documentation, system utilities, and developer tooling.&lt;/p&gt;

&lt;p&gt;Our long-term objective is to build an operating system where privacy and security are architectural considerations rather than optional application-level features.&lt;/p&gt;

&lt;p&gt;Final thoughts&lt;/p&gt;

&lt;p&gt;Privacy-focused operating systems are not built by adding a browser, a VPN, and a few security tools to an existing desktop.&lt;/p&gt;

&lt;p&gt;They require careful decisions throughout the entire system: from boot and memory management to network routing, application execution, storage, and software distribution.&lt;/p&gt;

&lt;p&gt;That is the direction we are taking with Snigdha OS Decentralize.&lt;/p&gt;

&lt;p&gt;We are building it openly, documenting the architecture, publishing verifiable release artifacts, and inviting the community to participate.&lt;/p&gt;

&lt;p&gt;The first public release candidate is available. The next chapter is about making the architecture stronger through testing, review, and collaboration.&lt;/p&gt;

&lt;p&gt;Explore the project, test it in a controlled environment, inspect the code, and tell us what you think.&lt;/p&gt;

&lt;p&gt;Let's build a more privacy-conscious Linux ecosystem together.&lt;/p&gt;

&lt;p&gt;— Eshan Roy&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RiO&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;"GitLab" (&lt;a href="https://gitlab.com/SnigdhaOS/decentralize" rel="noopener noreferrer"&gt;https://gitlab.com/SnigdhaOS/decentralize&lt;/a&gt;) · "Website" (&lt;a href="https://decentralize.snigdhaos.org" rel="noopener noreferrer"&gt;https://decentralize.snigdhaos.org&lt;/a&gt;) · "Documentation" (&lt;a href="https://decentralize.snigdhaos.org/docs" rel="noopener noreferrer"&gt;https://decentralize.snigdhaos.org/docs&lt;/a&gt;)&lt;/p&gt;

</description>
      <category>linux</category>
      <category>opensource</category>
      <category>privacy</category>
      <category>archlinux</category>
    </item>
    <item>
      <title>Snigdha OS Is Entering a New Chapter — Meet Snigdha OS Eclipse</title>
      <dc:creator>RiO</dc:creator>
      <pubDate>Mon, 09 Nov 2026 04:28:51 +0000</pubDate>
      <link>https://dev.to/snigdhaos/snigdha-os-is-entering-a-new-chapter-meet-snigdha-os-eclipse-phd</link>
      <guid>https://dev.to/snigdhaos/snigdha-os-is-entering-a-new-chapter-meet-snigdha-os-eclipse-phd</guid>
      <description>&lt;p&gt;We've been making some significant decisions behind the scenes at &lt;strong&gt;Snigdha OS&lt;/strong&gt;. And this time, we're not simply updating a desktop environment, changing wallpapers, or introducing another collection of packages.&lt;/p&gt;

&lt;p&gt;We're rethinking how Snigdha OS is built.&lt;/p&gt;

&lt;p&gt;The next edition of our distribution will be called &lt;strong&gt;Snigdha OS Eclipse&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Eclipse represents a new chapter for the project. Alongside the new edition, we're working on changes to the underlying architecture, package infrastructure, recovery capabilities, system automation, and first-party tooling.&lt;/p&gt;

&lt;p&gt;Here's what we're currently working on.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Introducing Snigdha OS Eclipse
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt; A new identity, with a stronger foundation behind it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Snigdha OS Eclipse is the new edition we're working toward.&lt;/p&gt;

&lt;p&gt;However, we don't want this to be just a rebranding exercise. The intention is to use this opportunity to rethink several parts of the distribution and build a more cohesive experience.&lt;/p&gt;

&lt;p&gt;Our priorities are straightforward:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A clean and maintainable Arch Linux foundation.&lt;/li&gt;
&lt;li&gt;A carefully composed installation image.&lt;/li&gt;
&lt;li&gt;Better integration between system components.&lt;/li&gt;
&lt;li&gt;First-party utilities that serve an actual purpose.&lt;/li&gt;
&lt;li&gt;Less unnecessary complexity.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We want the distribution to feel intentional rather than assembled from an endless collection of components.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Rebuilding the Snigdha OS Core
&lt;/h2&gt;

&lt;p&gt;One of our biggest focuses right now is the core system and ISO.&lt;/p&gt;

&lt;p&gt;We've been reviewing how other successful Arch-based distributions structure their installation images and underlying system components.&lt;/p&gt;

&lt;p&gt;One thing became clear: &lt;strong&gt;we were making parts of the system more complicated than necessary.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We don't want an ISO that tries to do everything.&lt;/p&gt;

&lt;p&gt;Instead, we're taking a more practical approach:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Keep the base system lean.&lt;/li&gt;
&lt;li&gt;Include only what is necessary for the intended installation experience.&lt;/li&gt;
&lt;li&gt;Avoid unnecessary services and dependencies.&lt;/li&gt;
&lt;li&gt;Keep system configuration understandable.&lt;/li&gt;
&lt;li&gt;Make the build process easier to maintain and reproduce.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The objective is not to build the biggest ISO. It's to build an ISO that provides a solid foundation without unnecessary baggage.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. A New Package Repository Infrastructure
&lt;/h2&gt;

&lt;p&gt;We're also changing how we distribute Snigdha OS packages.&lt;/p&gt;

&lt;p&gt;Previously, we considered Cloudflare R2 for package storage. We've decided to move away from that approach.&lt;/p&gt;

&lt;p&gt;Our current direction is to use &lt;strong&gt;GitLab Pages as our package repository infrastructure&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This brings our package distribution closer to the GitLab-based development workflow we're already using.&lt;/p&gt;

&lt;p&gt;The focus is on making package publishing and repository maintenance simpler, with CI/CD playing an important role in the process.&lt;/p&gt;

&lt;p&gt;Repository:&lt;br&gt;
&lt;a href="https://gitlab.com/snigdhaos/repos/repos" rel="noopener noreferrer"&gt;https://gitlab.com/snigdhaos/repos/repos&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is an infrastructure decision, but it's an important one. Package distribution should be straightforward to maintain instead of introducing additional infrastructure that we don't actually need.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Building Snigdha OS Rescue
&lt;/h2&gt;

&lt;p&gt;System recovery deserves more attention than it usually receives in Linux distributions.&lt;/p&gt;

&lt;p&gt;That's why we're putting dedicated effort into &lt;strong&gt;Snigdha OS Rescue&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Rather than treating recovery as an afterthought, we're developing it as a focused part of the Snigdha OS ecosystem.&lt;/p&gt;

&lt;p&gt;The goal is to provide a dedicated environment for troubleshooting and recovering Linux installations.&lt;/p&gt;

&lt;p&gt;We're approaching this as its own project, with attention to simplicity, reliability, and practical recovery workflows.&lt;/p&gt;

&lt;p&gt;A recovery environment should be useful when things go wrong, not another complicated application that introduces more problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Introducing snigdhaos-hooks
&lt;/h2&gt;

&lt;p&gt;Another important part of our current development is our own system hooks implementation:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;snigdhaos-hooks&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We have been looking at existing Linux distribution implementations, including Garuda Linux's hooks:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://gitlab.com/garuda-linux/pkgbuilds/-/tree/main/garuda-hooks" rel="noopener noreferrer"&gt;https://gitlab.com/garuda-linux/pkgbuilds/-/tree/main/garuda-hooks&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That gives us useful inspiration, but we want something designed around Snigdha OS itself.&lt;/p&gt;

&lt;p&gt;The idea is to provide a controlled mechanism for system-level automation and integration.&lt;/p&gt;

&lt;p&gt;This will help us manage distribution-specific operations without scattering custom scripts and workarounds throughout the system.&lt;/p&gt;

&lt;p&gt;We want the implementation to be predictable, maintainable, and easy for developers to understand.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Rethinking First-Party Applications
&lt;/h2&gt;

&lt;p&gt;We're also reconsidering how we build and distribute desktop utilities.&lt;/p&gt;

&lt;p&gt;For applications that need a desktop interface, we're adopting Tauri as part of our development direction.&lt;/p&gt;

&lt;p&gt;The goal is to build focused applications without unnecessarily introducing heavy application stacks.&lt;/p&gt;

&lt;p&gt;We want our first-party tools to integrate naturally with the operating system while remaining independently maintainable.&lt;/p&gt;

&lt;p&gt;The broader philosophy is simple: build dedicated tools for real problems instead of creating software just to increase the number of applications shipped with the distribution.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Less Overengineering, More Engineering
&lt;/h2&gt;

&lt;p&gt;This is probably the most important change in our approach.&lt;/p&gt;

&lt;p&gt;We have realised that building a Linux distribution is not about adding as many custom components as possible.&lt;/p&gt;

&lt;p&gt;Every additional component introduces maintenance responsibilities, dependencies, potential failure points, and long-term complexity.&lt;/p&gt;

&lt;p&gt;We want to be much more selective.&lt;/p&gt;

&lt;p&gt;When an existing Arch Linux component does the job properly, there is little reason to reinvent it. When Snigdha OS needs something specific, we want to build it properly and maintain it ourselves.&lt;/p&gt;

&lt;p&gt;That distinction will guide the Eclipse development direction.&lt;/p&gt;

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

&lt;p&gt;Our current development priorities revolve around bringing these pieces together:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Establishing a clean and maintainable Snigdha OS Core.&lt;/li&gt;
&lt;li&gt;Simplifying and validating the ISO build process.&lt;/li&gt;
&lt;li&gt;Establishing the GitLab Pages-based package repository.&lt;/li&gt;
&lt;li&gt;Continuing development of Snigdha OS Rescue.&lt;/li&gt;
&lt;li&gt;Developing and integrating &lt;code&gt;snigdhaos-hooks&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Improving our first-party application ecosystem.&lt;/li&gt;
&lt;li&gt;Bringing everything together into a consistent Snigdha OS Eclipse experience.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These are active development workstreams, not a declaration that everything is already finished. We would rather get the foundations right than rush out a release with unfinished components.&lt;/p&gt;

&lt;h2&gt;
  
  
  We Want to Build This in the Open
&lt;/h2&gt;

&lt;p&gt;Snigdha OS is an open-source project, and we want the development process to reflect that.&lt;/p&gt;

&lt;p&gt;We're interested in feedback from Arch Linux users, Linux developers, distribution maintainers, and anyone who enjoys understanding how operating systems are built.&lt;/p&gt;

&lt;p&gt;Whether it's ISO architecture, package management, system hooks, recovery workflows, or desktop tooling, constructive feedback is welcome.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Snigdha OS Eclipse is more than a new edition name. It's an opportunity to build Snigdha OS with a clearer direction, simpler architecture, and a stronger foundation.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We're getting back to the fundamentals.&lt;/p&gt;

&lt;p&gt;And we're just getting started. 🌘&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Project:&lt;/strong&gt; Snigdha OS&lt;br&gt;&lt;br&gt;
&lt;strong&gt;New Edition:&lt;/strong&gt; Snigdha OS Eclipse&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Website:&lt;/strong&gt; &lt;a href="https://snigdhaos.org/" rel="noopener noreferrer"&gt;https://snigdhaos.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Package Repository:&lt;/strong&gt; &lt;a href="https://gitlab.com/snigdhaos/repos/repos" rel="noopener noreferrer"&gt;https://gitlab.com/snigdhaos/repos/repos&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Built with the open-source community in mind.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>opensource</category>
      <category>archlinux</category>
      <category>devops</category>
    </item>
    <item>
      <title>GNOME vs KDE Plasma: Which One Is for You?</title>
      <dc:creator>RiO</dc:creator>
      <pubDate>Fri, 10 Jan 2025 09:42:03 +0000</pubDate>
      <link>https://dev.to/snigdhaos/gnome-vs-kde-plasma-which-one-is-for-you-1gc9</link>
      <guid>https://dev.to/snigdhaos/gnome-vs-kde-plasma-which-one-is-for-you-1gc9</guid>
      <description>&lt;p&gt;When it comes to Linux desktop environments, two of the most popular and widely debated options are &lt;strong&gt;GNOME&lt;/strong&gt; and &lt;strong&gt;KDE Plasma&lt;/strong&gt;. Both are powerful, customizable, and provide a rich user experience, but they cater to different preferences and workflows. This post will help you decide which one might be the better fit for you by breaking down their key features, design philosophies, and pros and cons.&lt;/p&gt;

&lt;h3&gt;
  
  
  GNOME: Simplicity and Elegance
&lt;/h3&gt;

&lt;p&gt;GNOME is known for its minimalist design and streamlined user experience. It focuses on keeping things simple and distraction-free, making it a favorite among those who prefer a clean and modern interface.&lt;/p&gt;

&lt;h4&gt;
  
  
  Key Features:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Streamlined Design:&lt;/strong&gt; GNOME's default interface minimizes clutter, featuring a top bar, Activities Overview, and a dock.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extensions:&lt;/strong&gt; While simple out of the box, GNOME is extensible with various extensions that add functionality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consistency:&lt;/strong&gt; Apps in GNOME are designed to follow a uniform design language, ensuring a cohesive experience.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Pros:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Intuitive and user-friendly for newcomers.&lt;/li&gt;
&lt;li&gt;Polished and professional look.&lt;/li&gt;
&lt;li&gt;Integrates well with touchscreens.&lt;/li&gt;
&lt;li&gt;Focus on accessibility, with built-in tools like screen readers and magnifiers.&lt;/li&gt;
&lt;li&gt;Strong integration with GTK-based applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Cons:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Limited out-of-the-box customization compared to KDE Plasma.&lt;/li&gt;
&lt;li&gt;Can feel resource-heavy on lower-end systems.&lt;/li&gt;
&lt;li&gt;Dependency on extensions for additional functionality can lead to compatibility issues after updates.&lt;/li&gt;
&lt;li&gt;Some users find the workflow restrictive due to the simplified design.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  KDE Plasma: Customization and Power
&lt;/h3&gt;

&lt;p&gt;KDE Plasma is renowned for its unparalleled customizability and feature-rich environment. It’s ideal for power users who want complete control over their desktop experience.&lt;/p&gt;

&lt;h4&gt;
  
  
  Key Features:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Customizability:&lt;/strong&gt; Almost every aspect of KDE Plasma can be tweaked, from widgets to layouts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lightweight:&lt;/strong&gt; Despite its many features, KDE Plasma is surprisingly light on resources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Versatility:&lt;/strong&gt; Works well for both traditional and modern desktop setups.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Pros:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Extensive customization options.&lt;/li&gt;
&lt;li&gt;Wide range of included utilities and applications.&lt;/li&gt;
&lt;li&gt;Efficient performance even on older hardware.&lt;/li&gt;
&lt;li&gt;Supports multiple desktop paradigms, such as traditional taskbars or modern approaches.&lt;/li&gt;
&lt;li&gt;Frequent updates and innovations keep the environment fresh.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Cons:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Customization can feel overwhelming for beginners.&lt;/li&gt;
&lt;li&gt;Inconsistencies in app design across third-party software.&lt;/li&gt;
&lt;li&gt;Occasional bugs or crashes due to the sheer complexity of features.&lt;/li&gt;
&lt;li&gt;Can take longer to configure to personal preferences, which might be daunting for users seeking an out-of-the-box experience.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Side-by-Side Comparison
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;GNOME&lt;/th&gt;
&lt;th&gt;KDE Plasma&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design Philosophy&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Minimalist and elegant&lt;/td&gt;
&lt;td&gt;Feature-rich and customizable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Resource Usage&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Higher on system resources&lt;/td&gt;
&lt;td&gt;Lightweight and efficient&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Customization&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Limited without extensions&lt;/td&gt;
&lt;td&gt;Extensive out of the box&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Learning Curve&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Easy for beginners&lt;/td&gt;
&lt;td&gt;Steeper for newcomers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Touchscreen Support&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Excellent&lt;/td&gt;
&lt;td&gt;Good, but varies&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Default Apps&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Focused on simplicity&lt;/td&gt;
&lt;td&gt;Rich with features&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Community Support&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Large, but focused&lt;/td&gt;
&lt;td&gt;Broad and diverse&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Release Cycle&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Predictable and slower&lt;/td&gt;
&lt;td&gt;Faster-paced and flexible&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Performance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Can be sluggish on old hardware&lt;/td&gt;
&lt;td&gt;Optimized for older systems&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;User Focus&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Productivity and simplicity&lt;/td&gt;
&lt;td&gt;Power users and tinkerers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Third-Party Apps&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;GTK-based apps integrate well&lt;/td&gt;
&lt;td&gt;Offers a mix of Qt and GTK support&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Accessibility&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Strong built-in tools&lt;/td&gt;
&lt;td&gt;Customizable but less streamlined&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Which One Should You Choose?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Choose GNOME&lt;/strong&gt; if you value simplicity, consistency, and a "just works" experience. It’s a great choice for those who prefer minimal tinkering or use Linux for professional tasks.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Choose KDE Plasma&lt;/strong&gt; if you love to customize every aspect of your desktop and enjoy exploring advanced features. It's perfect for power users and those who want a tailored experience.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;Both GNOME and KDE Plasma are excellent desktop environments, and neither is inherently better than the other. Your choice depends on your workflow, preferences, and hardware capabilities. Experiment with both to see which one resonates with your style—the beauty of Linux is that you have the freedom to choose!&lt;/p&gt;

&lt;p&gt;What’s your preference? Share your thoughts and experiences in the comments below!&lt;/p&gt;

</description>
      <category>linux</category>
      <category>archlinux</category>
      <category>snigdhaos</category>
    </item>
    <item>
      <title>Install and use VirtualBox on Arch Linux &amp; Snigdha OS</title>
      <dc:creator>Eshan Roy (eshanized)</dc:creator>
      <pubDate>Tue, 07 Jan 2025 20:47:46 +0000</pubDate>
      <link>https://dev.to/snigdhaos/install-and-use-virtualbox-on-arch-linux-snigdha-os-5cb3</link>
      <guid>https://dev.to/snigdhaos/install-and-use-virtualbox-on-arch-linux-snigdha-os-5cb3</guid>
      <description>&lt;p&gt;To install and use VirtualBox on Arch Linux, you can follow these steps. VirtualBox is available in the Arch User Repository (AUR), and you can install it using &lt;code&gt;pacman&lt;/code&gt; or an AUR helper like &lt;code&gt;yay&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Install VirtualBox
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Using &lt;code&gt;pacman&lt;/code&gt; (Official Arch repository):
&lt;/h4&gt;

&lt;p&gt;If you're using the VirtualBox version from the official Arch repository, follow these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Update your system&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Syu&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install VirtualBox&lt;/strong&gt;:
Install VirtualBox and the required dependencies:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; virtualbox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will install VirtualBox and related tools. However, you will also need to install the kernel headers for your specific kernel version.&lt;/p&gt;

&lt;h4&gt;
  
  
  Install Kernel Headers:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you are using the default &lt;code&gt;linux&lt;/code&gt; kernel:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; linux-headers
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you are using another kernel, like &lt;code&gt;linux-lts&lt;/code&gt;, install the corresponding headers:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; linux-lts-headers
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Load the VirtualBox kernel module&lt;/strong&gt;:
After installing VirtualBox, load the necessary kernel modules by running:
&lt;/li&gt;
&lt;/ol&gt;

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

&lt;/div&gt;



&lt;p&gt;If you encounter errors, try to ensure that the correct kernel headers are installed and that your system is using the correct kernel.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Start VirtualBox&lt;/strong&gt;:
Now, you can start VirtualBox from the terminal by typing:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   virtualbox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Using the AUR (if you prefer the AUR version):
&lt;/h4&gt;

&lt;p&gt;The AUR version is often up-to-date with the latest VirtualBox releases. You can install it using an AUR helper such as &lt;code&gt;yay&lt;/code&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install yay (if you haven't already)&lt;/strong&gt;:
If you don’t have &lt;code&gt;yay&lt;/code&gt; installed, you can install it using the following command:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; yay
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install VirtualBox from AUR&lt;/strong&gt;:
Run the following command to install VirtualBox from the AUR:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   yay &lt;span class="nt"&gt;-S&lt;/span&gt; virtualbox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will also handle dependencies and kernel headers.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Add Your User to the vboxusers Group
&lt;/h3&gt;

&lt;p&gt;To allow your user to use VirtualBox without needing to run it as root, add your user to the &lt;code&gt;vboxusers&lt;/code&gt; group:&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;sudo &lt;/span&gt;gpasswd &lt;span class="nt"&gt;-a&lt;/span&gt; &lt;span class="nv"&gt;$USER&lt;/span&gt; vboxusers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You will need to log out and log back in for the changes to take effect.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Create a Virtual Machine (VM)
&lt;/h3&gt;

&lt;p&gt;Once VirtualBox is installed and the necessary modules are loaded, you can start creating and managing virtual machines using the VirtualBox GUI or the command line:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Start VirtualBox GUI&lt;/strong&gt;: &lt;br&gt;
You can launch VirtualBox from the applications menu or by running &lt;code&gt;virtualbox&lt;/code&gt; in the terminal.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Create a VM&lt;/strong&gt;:&lt;br&gt;
In the VirtualBox GUI, click on "New" to create a new virtual machine. You will need to specify:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Name and type of OS.&lt;/li&gt;
&lt;li&gt;Memory size.&lt;/li&gt;
&lt;li&gt;Virtual hard disk (you can create a new one or use an existing one).&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;&lt;strong&gt;Install an OS on your VM&lt;/strong&gt;:&lt;br&gt;&lt;br&gt;
Once the VM is created, you can start it and install an operating system on the virtual hard disk.&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. (Optional) Install Extension Pack
&lt;/h3&gt;

&lt;p&gt;To unlock additional features such as USB 2.0/3.0 support, better video support, and remote desktop capabilities, you may want to install the VirtualBox Extension Pack.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Download the Extension Pack&lt;/strong&gt; from the VirtualBox website: &lt;a href="https://www.virtualbox.org/wiki/Downloads" rel="noopener noreferrer"&gt;VirtualBox Extension Pack&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Install the Extension Pack&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After downloading, you can add it to VirtualBox from the GUI by going to &lt;strong&gt;File &amp;gt; Preferences &amp;gt; Extensions&lt;/strong&gt; and clicking the &lt;strong&gt;Add&lt;/strong&gt; button to browse and select the downloaded extension pack file.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Troubleshooting:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kernel module issues&lt;/strong&gt;: If you run into issues with loading the &lt;code&gt;vboxdrv&lt;/code&gt; module, ensure that you have the correct kernel headers installed and that your kernel matches the one you're using.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check VirtualBox version compatibility&lt;/strong&gt;: Ensure that you're running the appropriate version of VirtualBox for your kernel and system setup.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once everything is set up, you can start using VirtualBox to create and manage virtual machines on your Arch Linux system!&lt;/p&gt;

</description>
      <category>archlinux</category>
      <category>snigdhaos</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How to Install BlackArch on Top of Arch Linux 🖤🐧</title>
      <dc:creator>Eshan Roy (eshanized)</dc:creator>
      <pubDate>Thu, 05 Dec 2024 16:05:49 +0000</pubDate>
      <link>https://dev.to/snigdhaos/how-to-install-blackarch-on-top-of-arch-linux-6oh</link>
      <guid>https://dev.to/snigdhaos/how-to-install-blackarch-on-top-of-arch-linux-6oh</guid>
      <description>&lt;p&gt;Are you an Arch Linux enthusiast looking to dive into the world of ethical hacking and pentesting? 🕵️‍♂️💻 BlackArch is here to level up your Arch system with over &lt;strong&gt;2,800+ hacking tools&lt;/strong&gt;. Here’s how you can install BlackArch on top of your existing Arch Linux system, step by step, with a sprinkle of emojis to make it fun! 🎉&lt;/p&gt;




&lt;h2&gt;
  
  
  🔧 Prerequisites
&lt;/h2&gt;

&lt;p&gt;Make sure your Arch Linux system is updated and running smoothly. Run:&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;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Syu&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, let’s get started! 🚀  &lt;/p&gt;




&lt;h2&gt;
  
  
  Step 1: Add the BlackArch Repository 🗂️
&lt;/h2&gt;

&lt;p&gt;BlackArch provides an easy way to add its repository to your system. Just execute the following commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-O&lt;/span&gt; https://blackarch.org/strap.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Verify the downloaded script to ensure its authenticity: 🛡️&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;echo&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://blackarch.org/strap.sha256&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;  strap.sh"&lt;/span&gt; | &lt;span class="nb"&gt;sha256sum&lt;/span&gt; &lt;span class="nt"&gt;-c&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If everything’s good, you’ll see &lt;code&gt;strap.sh: OK&lt;/code&gt;. 👍  &lt;/p&gt;




&lt;h2&gt;
  
  
  Step 2: Run the Installer 🛠️
&lt;/h2&gt;

&lt;p&gt;Now, make the script executable and run it:&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;chmod&lt;/span&gt; +x strap.sh
&lt;span class="nb"&gt;sudo&lt;/span&gt; ./strap.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will add the BlackArch repository and key to your system. 📥✨  &lt;/p&gt;




&lt;h2&gt;
  
  
  Step 3: Sync the Package Database 📋
&lt;/h2&gt;

&lt;p&gt;To make sure everything is updated:&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;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Syyu&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This ensures you have the latest package listings from both Arch and BlackArch repositories. 🔄  &lt;/p&gt;




&lt;h2&gt;
  
  
  Step 4: Install BlackArch Tools 🛡️
&lt;/h2&gt;

&lt;p&gt;You can now install BlackArch tools in various ways:  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install Everything&lt;/strong&gt; (Warning: It’s a lot! 😅):
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; blackarch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install Specific Groups&lt;/strong&gt; (e.g., web, network):
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; blackarch-web
   &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; blackarch-network
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install a Single Tool&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; &amp;lt;tool-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check out the list of tools here: &lt;a href="https://blackarch.org/tools.html" rel="noopener noreferrer"&gt;BlackArch Tools&lt;/a&gt; 🔗  &lt;/p&gt;




&lt;h2&gt;
  
  
  Step 5: Start Hacking (Ethically!) 🕶️
&lt;/h2&gt;

&lt;p&gt;You’re now ready to explore the world of ethical hacking! Whether you’re testing networks, analyzing malware, or exploring cryptography, BlackArch has got you covered. 🎯  &lt;/p&gt;




&lt;h2&gt;
  
  
  Bonus Tip 🌟
&lt;/h2&gt;

&lt;p&gt;Not ready to install everything? You can run BlackArch tools in a container or virtual machine for testing. This keeps your main system clutter-free. 🛡️🖥️  &lt;/p&gt;




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

&lt;p&gt;With BlackArch on top of your Arch Linux, you now have a pentesting powerhouse! ⚡ Remember, with great power comes great responsibility—always use these tools ethically and responsibly. 🕊️  &lt;/p&gt;

&lt;p&gt;Happy hacking! 💻🐧✨  &lt;/p&gt;

&lt;p&gt;Got questions or tips? Drop them in the comments below! ⬇️  &lt;/p&gt;

</description>
      <category>archlinux</category>
      <category>blackarch</category>
      <category>pentesting</category>
      <category>ethicalhacking</category>
    </item>
    <item>
      <title>Arch Linux Pacman: A Detailed Guide with Commands and Examples 🎩🐧</title>
      <dc:creator>Eshan Roy (eshanized)</dc:creator>
      <pubDate>Wed, 04 Dec 2024 21:12:51 +0000</pubDate>
      <link>https://dev.to/snigdhaos/arch-linux-pacman-a-detailed-guide-with-commands-and-examples-en5</link>
      <guid>https://dev.to/snigdhaos/arch-linux-pacman-a-detailed-guide-with-commands-and-examples-en5</guid>
      <description>&lt;p&gt;For Arch Linux users, &lt;strong&gt;Pacman&lt;/strong&gt; is the Swiss Army knife of package management. Designed for simplicity and efficiency, it handles everything from installing software to resolving dependencies, all via the command line. 🌟 &lt;/p&gt;

&lt;p&gt;Whether you're just starting with Arch or looking to deepen your understanding, this guide dives deep into Pacman commands with detailed explanations and examples. Let's master Pacman together! 🛠️&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you have any suggestion for me, let me know in the comment. I will add yours also in the post!&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  📦 What is Pacman?
&lt;/h2&gt;

&lt;p&gt;Pacman (&lt;strong&gt;Pac&lt;/strong&gt;kage &lt;strong&gt;Man&lt;/strong&gt;ager) is Arch Linux's default package management utility. Its primary role is to provide an easy way to manage packages, ensuring your system is always current and organized. &lt;/p&gt;

&lt;h3&gt;
  
  
  🏗️ Key Capabilities:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Binary Package Management&lt;/strong&gt;: Pacman installs precompiled binaries, saving time and resources compared to compiling from source.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repository Synchronization&lt;/strong&gt;: It syncs package databases, so you always have the latest updates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dependency Resolution&lt;/strong&gt;: Automatically fetches and installs dependencies for packages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customization&lt;/strong&gt;: Pacman configuration via &lt;code&gt;/etc/pacman.conf&lt;/code&gt; allows fine-tuning.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  🛠️ The Anatomy of Pacman Commands
&lt;/h2&gt;

&lt;p&gt;Pacman commands follow this structure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pacman &lt;span class="o"&gt;[&lt;/span&gt;options] &lt;span class="o"&gt;[&lt;/span&gt;operation] &lt;span class="o"&gt;[&lt;/span&gt;package_name]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;Options and Operations&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Options&lt;/strong&gt;: Modify how a command operates (e.g., &lt;code&gt;-y&lt;/code&gt; for refreshing databases).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Operations&lt;/strong&gt;: Define what the command does (e.g., &lt;code&gt;-S&lt;/code&gt; for installing software).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🔑 Detailed Commands and Examples
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;Sync the Database and Update Your System&lt;/strong&gt; 🆕
&lt;/h3&gt;

&lt;p&gt;To keep your system updated:&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;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Syu&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Breakdown:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;-S&lt;/code&gt;&lt;/strong&gt;: Synchronize packages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;-y&lt;/code&gt;&lt;/strong&gt;: Refresh the database.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;-u&lt;/code&gt;&lt;/strong&gt;: Upgrade all packages to the latest versions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;📝 &lt;strong&gt;Example Scenario&lt;/strong&gt;:&lt;br&gt;&lt;br&gt;
If a new kernel update is released, this command ensures your system is patched.&lt;/p&gt;
&lt;h3&gt;
  
  
  2. &lt;strong&gt;Search for Packages&lt;/strong&gt; 🔍
&lt;/h3&gt;

&lt;p&gt;Locate packages in the repository:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pacman &lt;span class="nt"&gt;-Ss&lt;/span&gt; &amp;lt;package_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Example:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pacman &lt;span class="nt"&gt;-Ss&lt;/span&gt; vlc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will return all packages related to VLC media player, along with descriptions.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. &lt;strong&gt;Install Software&lt;/strong&gt; 📥
&lt;/h3&gt;

&lt;p&gt;To install a package:&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;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; &amp;lt;package_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Example:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; htop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Installs &lt;code&gt;htop&lt;/code&gt;, a real-time system monitor. Use &lt;code&gt;htop&lt;/code&gt; to monitor CPU and memory usage interactively. 🖥️&lt;/p&gt;

&lt;h3&gt;
  
  
  4. &lt;strong&gt;Uninstall Packages&lt;/strong&gt; 🗑️
&lt;/h3&gt;

&lt;p&gt;Remove unwanted software:&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;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-R&lt;/span&gt; &amp;lt;package_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Example:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-R&lt;/span&gt; htop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This removes the &lt;code&gt;htop&lt;/code&gt; package.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. &lt;strong&gt;Remove Packages with Dependencies and Config Files&lt;/strong&gt; 🔗
&lt;/h3&gt;

&lt;p&gt;For a clean uninstall:&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;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Rns&lt;/span&gt; &amp;lt;package_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Example:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Rns&lt;/span&gt; htop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This removes &lt;code&gt;htop&lt;/code&gt;, its dependencies, and configuration files.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. &lt;strong&gt;Clean the Cache&lt;/strong&gt; 🧹
&lt;/h3&gt;

&lt;p&gt;Pacman stores downloaded package files in a cache. Over time, this can accumulate.&lt;/p&gt;

&lt;h4&gt;
  
  
  Clear unused packages:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Sc&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Clear the entire cache:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Scc&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;strong&gt;Note&lt;/strong&gt;: Clearing the entire cache means you'll need to redownload packages if you reinstall them later.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. &lt;strong&gt;Query Installed Packages&lt;/strong&gt; 📋
&lt;/h3&gt;

&lt;p&gt;List all installed packages:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pacman &lt;span class="nt"&gt;-Q&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Find a specific package:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pacman &lt;span class="nt"&gt;-Q&lt;/span&gt; &amp;lt;package_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Example:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pacman &lt;span class="nt"&gt;-Q&lt;/span&gt; bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Displays information about the installed &lt;code&gt;bash&lt;/code&gt; shell.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. &lt;strong&gt;Package Details&lt;/strong&gt; ℹ️
&lt;/h3&gt;

&lt;p&gt;Display detailed information about a package:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pacman &lt;span class="nt"&gt;-Qi&lt;/span&gt; &amp;lt;package_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Example:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pacman &lt;span class="nt"&gt;-Qi&lt;/span&gt; neofetch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Learn about the &lt;code&gt;neofetch&lt;/code&gt; package, including version, dependencies, and installation size.&lt;/p&gt;

&lt;h3&gt;
  
  
  9. &lt;strong&gt;Find and Remove Orphaned Packages&lt;/strong&gt; 🚮
&lt;/h3&gt;

&lt;p&gt;Orphaned packages are those no longer required by any installed package.&lt;/p&gt;

&lt;h4&gt;
  
  
  List orphaned packages:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pacman &lt;span class="nt"&gt;-Qdt&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Remove orphaned packages:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-Rns&lt;/span&gt; &lt;span class="si"&gt;$(&lt;/span&gt;pacman &lt;span class="nt"&gt;-Qdtq&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  10. &lt;strong&gt;Install a Specific Package Version&lt;/strong&gt; 🕰️
&lt;/h3&gt;

&lt;p&gt;If a newer version breaks your setup, you can install an older one using a cached package file:&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;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-U&lt;/span&gt; /var/cache/pacman/pkg/&amp;lt;package_file&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  11. &lt;strong&gt;Force Package Installation&lt;/strong&gt; 🚨
&lt;/h3&gt;

&lt;p&gt;To force reinstalling a package:&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;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; &amp;lt;package_name&amp;gt; &lt;span class="nt"&gt;--needed&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This ensures the package is reinstalled only if required.&lt;/p&gt;

&lt;h3&gt;
  
  
  12. &lt;strong&gt;Enable Parallel Downloads&lt;/strong&gt; ⚡
&lt;/h3&gt;

&lt;p&gt;Boost Pacman’s download speed by enabling parallel downloads in &lt;code&gt;/etc/pacman.conf&lt;/code&gt;. Add or uncomment:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ParallelDownloads = 5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Adjust the number based on your connection.&lt;/p&gt;

&lt;h2&gt;
  
  
  🎯 Advanced Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;Managing Multiple Repositories&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;You can add custom repositories by editing &lt;code&gt;/etc/pacman.conf&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[customrepo]
Server = https://example.com/repo/$arch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. &lt;strong&gt;Use AUR with Helpers&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Pacman doesn’t manage AUR packages directly. Use AUR helpers like &lt;code&gt;yay&lt;/code&gt; or &lt;code&gt;paru&lt;/code&gt; for that:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yay &lt;span class="nt"&gt;-S&lt;/span&gt; &amp;lt;aur_package_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  🚨 Common Pitfalls and Solutions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;1. Locked Database&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If Pacman is interrupted, you may see a locked database error:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;error: could not lock database: File exists
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Solution:
&lt;/h4&gt;

&lt;p&gt;Remove the lock file:&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;sudo rm&lt;/span&gt; /var/lib/pacman/db.lck
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;2. Keyring Issues&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Fix GPG key errors with:&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;sudo &lt;/span&gt;pacman-key &lt;span class="nt"&gt;--init&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman-key &lt;span class="nt"&gt;--populate&lt;/span&gt; archlinux
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;Pacman is an indispensable tool for managing your Arch Linux system. With its simplicity and robust features, it empowers users to handle complex package operations efficiently. By mastering these commands and tips, you’ll unlock the full potential of your Arch setup! 🏆&lt;/p&gt;

&lt;p&gt;Which Pacman feature do you use the most? Share your thoughts or questions in the comments below! 👇💬&lt;/p&gt;

&lt;p&gt;Happy hacking! 🚀&lt;/p&gt;

&lt;p&gt;&lt;em&gt;If this post helped you, share it with your fellow Linux enthusiasts! 🐧&lt;/em&gt;&lt;/p&gt;

</description>
      <category>archlinux</category>
      <category>cli</category>
      <category>cheatsheet</category>
      <category>pacman</category>
    </item>
    <item>
      <title>🚀 A Beginner's Guide to Docker: Simplifying Development and Deployment</title>
      <dc:creator>Eshan Roy (eshanized)</dc:creator>
      <pubDate>Tue, 03 Dec 2024 19:24:05 +0000</pubDate>
      <link>https://dev.to/snigdhaos/a-beginners-guide-to-docker-simplifying-development-and-deployment-12b3</link>
      <guid>https://dev.to/snigdhaos/a-beginners-guide-to-docker-simplifying-development-and-deployment-12b3</guid>
      <description>&lt;p&gt;Docker has revolutionized the way developers build, ship, and run applications by containerizing software into lightweight, portable units. If you're new to Docker, this tutorial will help you dive right in!  &lt;/p&gt;




&lt;h2&gt;
  
  
  🤔 What Is Docker?
&lt;/h2&gt;

&lt;p&gt;Docker is an open-source platform that allows you to package applications and their dependencies into &lt;strong&gt;containers&lt;/strong&gt;. A container is like a portable box 📦 that ensures your app runs consistently across different environments.  &lt;/p&gt;




&lt;h2&gt;
  
  
  ✨ Why Use Docker?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;⚙️ Consistency&lt;/strong&gt;: No more "it works on my machine!" 🙃
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🌎 Portability&lt;/strong&gt;: Run your app anywhere—local, server, or cloud.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;💡 Efficiency&lt;/strong&gt;: Containers are lightweight, using fewer resources than virtual machines.
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ Installing Docker
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Head over to &lt;a href="https://www.docker.com/products/docker-desktop" rel="noopener noreferrer"&gt;Docker's official website&lt;/a&gt; and download Docker Desktop for your OS.
&lt;/li&gt;
&lt;li&gt;Follow the setup instructions for Windows, macOS, or Linux.
&lt;/li&gt;
&lt;li&gt;Verify it's installed by running:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   docker &lt;span class="nt"&gt;--version&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  📚 Key Concepts
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Image&lt;/strong&gt;: A snapshot (blueprint) of your application. 🖼️
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Container&lt;/strong&gt;: A running instance of an image. 🚢
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dockerfile&lt;/strong&gt;: A script that defines how to build an image. 📝
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docker Hub&lt;/strong&gt;: A public library for sharing Docker images. 📂
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🏃‍♀️ Getting Started
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1️⃣ Running Your First Container
&lt;/h3&gt;

&lt;p&gt;Start a container with the official Nginx image:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; 8080:80 nginx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;-d&lt;/code&gt;: Run in detached mode (background).
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;-p 8080:80&lt;/code&gt;: Map port 8080 on your machine to port 80 in the container.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Visit &lt;strong&gt;&lt;code&gt;http://localhost:8080&lt;/code&gt;&lt;/strong&gt; in your browser to see your container in action! 🎉  &lt;/p&gt;




&lt;h3&gt;
  
  
  2️⃣ Building Your First Docker Image
&lt;/h3&gt;

&lt;p&gt;Let’s containerize a simple Node.js app!  &lt;/p&gt;

&lt;h4&gt;
  
  
  a. Create a &lt;code&gt;Dockerfile&lt;/code&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="c"&gt;# 🐋 Base image&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; node:16  &lt;/span&gt;

&lt;span class="c"&gt;# 📁 Working directory  &lt;/span&gt;
&lt;span class="k"&gt;WORKDIR&lt;/span&gt;&lt;span class="s"&gt; /app  &lt;/span&gt;

&lt;span class="c"&gt;# 📤 Copy files and install dependencies  &lt;/span&gt;
&lt;span class="k"&gt;COPY&lt;/span&gt;&lt;span class="s"&gt; package*.json ./  &lt;/span&gt;
&lt;span class="k"&gt;RUN &lt;/span&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt;  
&lt;span class="k"&gt;COPY&lt;/span&gt;&lt;span class="s"&gt; . .  &lt;/span&gt;

&lt;span class="c"&gt;# 🔥 Expose the app's port  &lt;/span&gt;
&lt;span class="k"&gt;EXPOSE&lt;/span&gt;&lt;span class="s"&gt; 3000  &lt;/span&gt;

&lt;span class="c"&gt;# 🏁 Command to start the app  &lt;/span&gt;
&lt;span class="k"&gt;CMD&lt;/span&gt;&lt;span class="s"&gt; ["node", "app.js"]  &lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  b. Build and Run Your App
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Build the Docker image:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   docker build &lt;span class="nt"&gt;-t&lt;/span&gt; my-node-app &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Run the container:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   docker run &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; 3000:3000 my-node-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Access your app at &lt;strong&gt;&lt;code&gt;http://localhost:3000&lt;/code&gt;&lt;/strong&gt; 🌟.  &lt;/p&gt;




&lt;h2&gt;
  
  
  🔑 Handy Docker Commands
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;📝 &lt;strong&gt;List running containers&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  docker ps
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;⛔ &lt;strong&gt;Stop a container&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  docker stop &amp;lt;container-id&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;🗑️ &lt;strong&gt;Remove a container&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  docker &lt;span class="nb"&gt;rm&lt;/span&gt; &amp;lt;container-id&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;🖼️ &lt;strong&gt;Remove an image&lt;/strong&gt;:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  docker rmi &amp;lt;image-id&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🚀 What's Next?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Learn &lt;strong&gt;Docker Compose&lt;/strong&gt; to manage multi-container apps. 🛠️
&lt;/li&gt;
&lt;li&gt;Dive into &lt;strong&gt;volumes&lt;/strong&gt; to persist data. 📂
&lt;/li&gt;
&lt;li&gt;Explore &lt;strong&gt;Docker Hub&lt;/strong&gt; for pre-built images. 🌍
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Docker makes development smoother, deployment easier, and applications portable. Whether you're just experimenting or building complex apps, Docker is your best friend! 💙  &lt;/p&gt;

&lt;p&gt;Got questions? Drop them in the comments! 🌟  &lt;/p&gt;

&lt;p&gt;If this helped you, don’t forget to &lt;strong&gt;❤️ react&lt;/strong&gt; and share it with your fellow devs! Happy containerizing! 🐳&lt;/p&gt;

</description>
      <category>docker</category>
      <category>containers</category>
      <category>kubernetes</category>
      <category>devops</category>
    </item>
    <item>
      <title>GitHub vs GitLab: Which One is Better? 🤔</title>
      <dc:creator>Eshan Roy (eshanized)</dc:creator>
      <pubDate>Mon, 02 Dec 2024 16:32:26 +0000</pubDate>
      <link>https://dev.to/snigdhaos/github-vs-gitlab-which-one-is-better-1kpj</link>
      <guid>https://dev.to/snigdhaos/github-vs-gitlab-which-one-is-better-1kpj</guid>
      <description>&lt;p&gt;When it comes to Git hosting services, two names dominate the landscape: &lt;strong&gt;GitHub&lt;/strong&gt; and &lt;strong&gt;GitLab&lt;/strong&gt;. Both are powerful tools that can take your development workflow to the next level 🚀. But which one is better for your needs? Let’s break it down! 🔍&lt;/p&gt;




&lt;h2&gt;
  
  
  🏢 &lt;strong&gt;The Big Picture&lt;/strong&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  GitHub
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Pros&lt;/strong&gt; ✅  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🛠️ &lt;em&gt;Widely Adopted&lt;/em&gt;: GitHub is the "Google" of code repositories, with millions of developers.
&lt;/li&gt;
&lt;li&gt;🌐 &lt;em&gt;Community and Networking&lt;/em&gt;: Amazing for discovering open-source projects and collaborating.
&lt;/li&gt;
&lt;li&gt;📈 &lt;em&gt;Extensive Integrations&lt;/em&gt;: Works seamlessly with CI/CD tools, project management apps, and more.
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Cons&lt;/strong&gt; ❌  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;💰 &lt;em&gt;Pricing&lt;/em&gt;: The enterprise-level features come at a cost.
&lt;/li&gt;
&lt;li&gt;🛡️ &lt;em&gt;Private Repos&lt;/em&gt;: Though available, GitHub initially focused on public repositories.
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;




&lt;h3&gt;
  
  
  GitLab
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Pros&lt;/strong&gt; ✅  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;💡 &lt;em&gt;All-in-One Solution&lt;/em&gt;: GitLab offers built-in CI/CD and DevOps tools.
&lt;/li&gt;
&lt;li&gt;🔒 &lt;em&gt;Privacy First&lt;/em&gt;: Excellent for private repositories and self-hosted solutions.
&lt;/li&gt;
&lt;li&gt;🏗️ &lt;em&gt;Open Core Model&lt;/em&gt;: Community edition is free and open source!
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Cons&lt;/strong&gt; ❌  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🐌 &lt;em&gt;Performance&lt;/em&gt;: Self-hosting can demand more resources.
&lt;/li&gt;
&lt;li&gt;🕸️ &lt;em&gt;Smaller Community&lt;/em&gt;: Not as extensive as GitHub's network.
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;




&lt;h2&gt;
  
  
  🎯 &lt;strong&gt;Key Features Comparison&lt;/strong&gt;
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;GitHub 😎&lt;/th&gt;
&lt;th&gt;GitLab 💪&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CI/CD&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Add via external tools 🔗&lt;/td&gt;
&lt;td&gt;Built-in 🚀&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;User Interface&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Sleek &amp;amp; modern 🌟&lt;/td&gt;
&lt;td&gt;Clean but dense 🖥️&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Self-Hosting&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Limited options 🏢&lt;/td&gt;
&lt;td&gt;Fully supported 🏠&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Pricing&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Free for basics, $$$ for advanced 💰&lt;/td&gt;
&lt;td&gt;More value at lower cost 💸&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Community&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Largest in the world 🌍&lt;/td&gt;
&lt;td&gt;Smaller but growing 📈&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🛠️ &lt;strong&gt;When to Use What?&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Choose GitHub if...&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You want to collaborate with a massive open-source community. 🌐
&lt;/li&gt;
&lt;li&gt;Networking and discoverability are key for your project. 🤝
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Choose GitLab if...&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You need an all-in-one DevOps powerhouse. 🏗️
&lt;/li&gt;
&lt;li&gt;Self-hosting and data security are priorities. 🔒
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;




&lt;h2&gt;
  
  
  👑 &lt;strong&gt;The Winner?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;It’s a &lt;strong&gt;tie&lt;/strong&gt;! 🎉 Both platforms excel in different areas, so the right choice depends on your needs:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌍 &lt;strong&gt;For Open Source &amp;amp; Collaboration&lt;/strong&gt;: Go GitHub!
&lt;/li&gt;
&lt;li&gt;🏢 &lt;strong&gt;For Enterprise &amp;amp; Self-Hosting&lt;/strong&gt;: GitLab wins!
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;What’s your favorite? Share your thoughts below! 👇✨  &lt;/p&gt;

</description>
      <category>github</category>
      <category>gitlab</category>
      <category>git</category>
      <category>devops</category>
    </item>
    <item>
      <title>Exploring the Linux Kernel and Switching Kernels on Arch Linux &amp; Snigdha OS in Short!</title>
      <dc:creator>Eshan Roy (eshanized)</dc:creator>
      <pubDate>Mon, 02 Dec 2024 07:03:19 +0000</pubDate>
      <link>https://dev.to/snigdhaos/exploring-the-linux-kernel-and-switching-kernels-on-arch-linux-snigdha-os-in-short-34d7</link>
      <guid>https://dev.to/snigdhaos/exploring-the-linux-kernel-and-switching-kernels-on-arch-linux-snigdha-os-in-short-34d7</guid>
      <description>&lt;h3&gt;
  
  
  🐧 Dive Into the Linux Kernel: Switching Kernels on Arch Linux &amp;amp; Snigdha OS 🚀
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Introduction 💻
&lt;/h4&gt;

&lt;p&gt;The Linux kernel 🐧 is the core of every Linux distribution. It acts as the bridge between your hardware and software, managing performance, hardware communication, and security.  &lt;/p&gt;

&lt;p&gt;Switching kernels 🌀 can dramatically improve your system’s performance, fix bugs, or unlock new features. In this post, we’ll explore:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What the Linux kernel is and why it matters 🤔.
&lt;/li&gt;
&lt;li&gt;How to switch kernels in Arch Linux 🅰️ and Snigdha OS 🌟.
&lt;/li&gt;
&lt;li&gt;Tips for choosing the best kernel for your needs 🛠️.
&lt;/li&gt;
&lt;/ul&gt;




&lt;h4&gt;
  
  
  What Is the Linux Kernel? 🧠
&lt;/h4&gt;

&lt;p&gt;The Linux kernel is the heart ❤️ of a Linux system, enabling:  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Efficient Hardware Management&lt;/strong&gt; 🖥️.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;System Security Enhancements&lt;/strong&gt; 🔒.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance Optimization&lt;/strong&gt; ⚡.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compatibility with Newer Hardware&lt;/strong&gt; 🆕.
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Every kernel version offers unique advantages, from long-term support 🛡️ to experimental features 🧪.&lt;/p&gt;




&lt;h4&gt;
  
  
  Why Switch Kernels? 🔀
&lt;/h4&gt;

&lt;p&gt;Switching kernels can:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fix Hardware Issues&lt;/strong&gt; 🛠️: New kernels might add support for your hardware.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unlock Features&lt;/strong&gt; 🔓: Experimental kernels introduce cutting-edge features.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enhance Performance&lt;/strong&gt; ⚙️: Optimized kernels like &lt;code&gt;linux-zen&lt;/code&gt; improve responsiveness.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Improve Stability&lt;/strong&gt; 🏔️: Use an LTS kernel for a rock-solid system.
&lt;/li&gt;
&lt;/ul&gt;




&lt;h4&gt;
  
  
  Switching Kernels in Arch Linux 🅰️
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Check Your Current Kernel&lt;/strong&gt; 🧐
Open a terminal and type:
&lt;/li&gt;
&lt;/ol&gt;

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

&lt;/div&gt;



&lt;p&gt;This will display your current kernel version.  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Find Available Kernels&lt;/strong&gt; 🗂️
Arch Linux offers several kernel options, such as:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;linux&lt;/code&gt;&lt;/strong&gt;: Default stable kernel.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;linux-lts&lt;/code&gt;&lt;/strong&gt;: Long-term support kernel for stability 🛡️.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;linux-zen&lt;/code&gt;&lt;/strong&gt;: Performance-optimized kernel ⚡.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;linux-hardened&lt;/code&gt;&lt;/strong&gt;: Security-focused kernel 🔒.
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Search for them using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   pacman &lt;span class="nt"&gt;-Ss&lt;/span&gt; linux | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="s1"&gt;'^core/linux'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install Your Preferred Kernel&lt;/strong&gt; 📥
Example: Install the LTS kernel:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; linux-lts linux-lts-headers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Update Your Bootloader&lt;/strong&gt; ⚙️
For GRUB users, update the configuration:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;grub-mkconfig &lt;span class="nt"&gt;-o&lt;/span&gt; /boot/grub/grub.cfg
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Reboot and Select Your Kernel&lt;/strong&gt; 🔄
Restart your system and pick your new kernel from the GRUB menu.
&lt;/li&gt;
&lt;/ol&gt;




&lt;h4&gt;
  
  
  Switching Kernels in Snigdha OS 🌟
&lt;/h4&gt;

&lt;p&gt;Snigdha OS simplifies kernel management with tools like the &lt;strong&gt;&lt;code&gt;snigdhaos-kernel-switcher-cli&lt;/code&gt;&lt;/strong&gt; 🛠️.  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Install the Kernel Switcher&lt;/strong&gt; 🛠️&lt;br&gt;&lt;br&gt;
Clone and install the kernel switcher from the &lt;a href="https://github.com/Snigdha-OS/snigdhaos-pkgbuilds/tree/master/snigdhaos-kernel-switcher-cli" rel="noopener noreferrer"&gt;GitHub repo&lt;/a&gt;.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;List and Install Kernels&lt;/strong&gt; 📋&lt;br&gt;&lt;br&gt;
Use the CLI to list available kernels:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   snigdhaos-kernel-switcher list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Install your desired kernel:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   snigdhaos-kernel-switcher &lt;span class="nb"&gt;install &lt;/span&gt;linux-lts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Automatic Bootloader Updates&lt;/strong&gt; 🔧&lt;br&gt;&lt;br&gt;
The tool takes care of updating your bootloader automatically.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Reboot and Enjoy&lt;/strong&gt; 🚀&lt;br&gt;&lt;br&gt;
Restart your system, and you're good to go!  &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h4&gt;
  
  
  How to Choose the Right Kernel? 🤔
&lt;/h4&gt;

&lt;p&gt;Here’s a quick guide:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🛡️ &lt;strong&gt;Stability:&lt;/strong&gt; Go for &lt;code&gt;linux-lts&lt;/code&gt; if you value reliability.
&lt;/li&gt;
&lt;li&gt;⚡ &lt;strong&gt;Performance:&lt;/strong&gt; Try &lt;code&gt;linux-zen&lt;/code&gt; for smoother desktop experiences.
&lt;/li&gt;
&lt;li&gt;🔒 &lt;strong&gt;Security:&lt;/strong&gt; Use &lt;code&gt;linux-hardened&lt;/code&gt; for maximum protection.
&lt;/li&gt;
&lt;li&gt;🧪 &lt;strong&gt;Experimental Features:&lt;/strong&gt; Stay on the cutting edge with the latest &lt;code&gt;linux&lt;/code&gt;.
&lt;/li&gt;
&lt;/ul&gt;




&lt;h4&gt;
  
  
  The Conclusion 💬
&lt;/h4&gt;

&lt;p&gt;Switching kernels in Arch Linux and Snigdha OS is straightforward 🐧. Whether you're troubleshooting, optimizing, or experimenting, the flexibility of Linux makes it possible.  &lt;/p&gt;

&lt;p&gt;Snigdha OS’s tools, like &lt;code&gt;snigdhaos-kernel-switcher-cli&lt;/code&gt;, take this process to the next level 🌟, making kernel management as simple as a few commands.  &lt;/p&gt;

&lt;p&gt;🔹 Have you tried switching kernels? What’s your favorite kernel flavor? Let’s discuss in the comments below! 💬  &lt;/p&gt;




&lt;p&gt;I have made a simple bash script to install and switch the kernel on both Arch Linux and Snigdha OS. You can give a try:&lt;br&gt;
&lt;a href="https://github.com/Snigdha-OS/snigdhaos-pkgbuilds/tree/master/snigdhaos-kernel-switcher-cli" rel="noopener noreferrer"&gt;Snigdha OS Kernel Switcher CLI&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Must Give a try!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🚀 &lt;strong&gt;Embrace the power of choice with Linux kernels and unlock your system’s full potential!&lt;/strong&gt; 🐧&lt;/p&gt;

</description>
      <category>linux</category>
      <category>kernel</category>
      <category>snigdhaos</category>
      <category>cli</category>
    </item>
    <item>
      <title>🐧 Linux Command Cheat Sheet: Essential Commands with Examples</title>
      <dc:creator>Eshan Roy (eshanized)</dc:creator>
      <pubDate>Sun, 01 Dec 2024 15:20:46 +0000</pubDate>
      <link>https://dev.to/snigdhaos/linux-command-cheat-sheet-essential-commands-with-examples-482j</link>
      <guid>https://dev.to/snigdhaos/linux-command-cheat-sheet-essential-commands-with-examples-482j</guid>
      <description>&lt;p&gt;Linux is a powerful operating system, and its command line is the key to unlocking its full potential. Here's your &lt;strong&gt;Linux command cheat sheet&lt;/strong&gt; with examples and a touch of fun 🎉 using emojis for easier navigation!&lt;/p&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;1. 📂 File and Directory Management&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;📜 List Files&lt;/strong&gt;
&lt;/h4&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;ul&gt;
&lt;li&gt;List all files in a directory.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example:&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;span class="nt"&gt;-la&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;-l&lt;/code&gt;: Detailed listing
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;-a&lt;/code&gt;: Include hidden files
&lt;/li&gt;
&lt;/ul&gt;




&lt;h4&gt;
  
  
  &lt;strong&gt;🚪 Change Directory&lt;/strong&gt;
&lt;/h4&gt;



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

&lt;/div&gt;



&lt;p&gt;Example:&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;cd&lt;/span&gt; /home/user/Documents
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Move to the "Documents" directory.&lt;/li&gt;
&lt;/ul&gt;




&lt;h4&gt;
  
  
  &lt;strong&gt;📁 Create a Directory&lt;/strong&gt;
&lt;/h4&gt;



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

&lt;/div&gt;



&lt;p&gt;Example:&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;mkdir &lt;/span&gt;my_project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;🗑️ Remove a File or Directory&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;To remove a file:&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;rm&lt;/span&gt; &amp;lt;file&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;rm &lt;/span&gt;example.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To remove a directory:&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;rm&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; &amp;lt;directory&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;rm&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; old_directory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;📋 Copy Files&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cp&lt;/span&gt; &amp;lt;&lt;span class="nb"&gt;source&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &amp;lt;destination&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;cp &lt;/span&gt;file.txt /home/user/backup/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;✂️ Move or Rename Files&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mv&lt;/span&gt; &amp;lt;&lt;span class="nb"&gt;source&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &amp;lt;destination&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;mv &lt;/span&gt;old_name.txt new_name.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  &lt;strong&gt;2. 📝 File Viewing and Editing&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;👀 View File Contents&lt;/strong&gt;
&lt;/h4&gt;



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

&lt;/div&gt;



&lt;p&gt;Example:&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;cat&lt;/span&gt; /etc/passwd
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;📖 Page Through File&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;less &amp;lt;file&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;less largefile.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;✏️ Edit Files&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;nano &amp;lt;file&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;nano notes.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Open the "notes.txt" file for editing in Nano.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;3. 👥 User Management&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;🔄 Switch Users&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;su &amp;lt;username&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;su root
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;👤 Add a New User&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;useradd &lt;span class="nt"&gt;-m&lt;/span&gt; &amp;lt;username&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;sudo &lt;/span&gt;useradd &lt;span class="nt"&gt;-m&lt;/span&gt; alice
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Set a password for the user:&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;sudo &lt;/span&gt;passwd alice
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;🗑️ Delete a User&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;userdel &amp;lt;username&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;sudo &lt;/span&gt;userdel alice
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  &lt;strong&gt;4. 🔐 Permissions&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;🛠️ Change File Permissions&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;chmod&lt;/span&gt; &amp;lt;mode&amp;gt; &amp;lt;file&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;chmod &lt;/span&gt;755 script.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;755&lt;/code&gt;: Owner can read/write/execute; others can read/execute.&lt;/li&gt;
&lt;/ul&gt;




&lt;h4&gt;
  
  
  &lt;strong&gt;🙋 Change File Ownership&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo chown&lt;/span&gt; &amp;lt;user&amp;gt;:&amp;lt;group&amp;gt; &amp;lt;file&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;sudo chown &lt;/span&gt;alice:users file.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  &lt;strong&gt;5. 🌐 Networking&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;🌍 Check IP Address&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ip addr
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;📡 Ping a Host&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ping &amp;lt;hostname_or_ip&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ping google.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;⬇️ Download a File&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wget &amp;lt;url&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wget https://example.com/file.tar.gz
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  &lt;strong&gt;6. 💾 Disk and System&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;💿 Check Disk Space&lt;/strong&gt;
&lt;/h4&gt;



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

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;📊 View Disk Usage&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;du&lt;/span&gt; &lt;span class="nt"&gt;-sh&lt;/span&gt; &amp;lt;directory&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;du&lt;/span&gt; &lt;span class="nt"&gt;-sh&lt;/span&gt; /var/log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;🚀 Monitor System Processes&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;top
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Real-time view of system processes.&lt;/li&gt;
&lt;/ul&gt;




&lt;h4&gt;
  
  
  &lt;strong&gt;🧠 Check Memory Usage&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;free &lt;span class="nt"&gt;-h&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;🔄 Reboot or Shutdown&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Reboot:&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;sudo &lt;/span&gt;reboot
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Shutdown:&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;sudo &lt;/span&gt;shutdown now
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  &lt;strong&gt;7. 📦 Package Management&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;📥 Install a Package (Debian/Ubuntu)&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install&lt;/span&gt; &amp;lt;package&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;curl
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;🧹 Remove a Package&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt remove &amp;lt;package&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;sudo &lt;/span&gt;apt remove apache2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;📈 Update System&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;On Debian/Ubuntu:&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;sudo &lt;/span&gt;apt update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;sudo &lt;/span&gt;apt upgrade
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  &lt;strong&gt;8. 🔍 Searching and Grep&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;🔎 Find Files&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;find &amp;lt;directory&amp;gt; &lt;span class="nt"&gt;-name&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;file_name&amp;gt;"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;find / &lt;span class="nt"&gt;-name&lt;/span&gt; &lt;span class="s2"&gt;"*.log"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;📂 Search Text in Files&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;text&amp;gt;"&lt;/span&gt; &amp;lt;file&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&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;grep&lt;/span&gt; &lt;span class="s2"&gt;"error"&lt;/span&gt; /var/log/syslog
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  &lt;strong&gt;9. 📦 Archiving and Compression&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;📦 Create a Tar Archive&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;tar&lt;/span&gt; &lt;span class="nt"&gt;-cvf&lt;/span&gt; archive.tar &amp;lt;directory&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;📂 Extract a Tar Archive&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;tar&lt;/span&gt; &lt;span class="nt"&gt;-xvf&lt;/span&gt; archive.tar
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;💨 Compress Files&lt;/strong&gt;
&lt;/h4&gt;



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

&lt;/div&gt;



&lt;p&gt;Example:&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;gzip &lt;/span&gt;logs.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  &lt;strong&gt;10. ⚡ Miscellaneous&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;📍 Print Working Directory&lt;/strong&gt;
&lt;/h4&gt;



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

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;⏱️ Check System Uptime&lt;/strong&gt;
&lt;/h4&gt;



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

&lt;/div&gt;






&lt;h4&gt;
  
  
  &lt;strong&gt;🧹 Clear Terminal Screen&lt;/strong&gt;
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;clear
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Suggestions From comments by &lt;a class="mentioned-user" href="https://dev.to/schelp"&gt;@schelp&lt;/a&gt; :
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;ls
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ls -ltrha (to bring the lastest files/dirs that had modifications.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;cd "", to enter in directories with that had an space into their names, like:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd "/home/schelp/my files"
ls -ltrha "/home/schelp/my files"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;df -h (known a little bit more of the filesystem used, maybe its a good idea)
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;df -Th
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One of the shortcuts that I like is: &lt;a class="mentioned-user" href="https://dev.to/schelp"&gt;@schelp&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;to clear the terminal screen
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;crtl + l
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Suggestion from comment &lt;a class="mentioned-user" href="https://dev.to/xinitd"&gt;@xinitd&lt;/a&gt; :
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Change directory ownership recursively:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;chown -R user:froup /path/to/directory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Just add executable flag to file
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;chmod +x /path/to/script.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;🎉 Mastering these commands will make your Linux journey smooth and efficient. From file management to networking, this cheat sheet covers essential tasks.&lt;br&gt;&lt;br&gt;
Do you have a favorite Linux command that isn’t here? Share it in the comments below! 👇  &lt;/p&gt;

&lt;p&gt;Written by: &lt;a class="mentioned-user" href="https://dev.to/eshanized"&gt;@eshanized&lt;/a&gt; &lt;br&gt;
Contributor 1: &lt;a class="mentioned-user" href="https://dev.to/schelp"&gt;@schelp&lt;/a&gt; &lt;br&gt;
Contributor 2: &lt;a class="mentioned-user" href="https://dev.to/xinitd"&gt;@xinitd&lt;/a&gt; &lt;/p&gt;

</description>
      <category>linux</category>
      <category>linuxcommands</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
