<?xml version="1.0" encoding="UTF-8"?>
<rss 
    version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/" 
    xmlns:content="http://purl.org/rss/1.0/modules/content/" 
    xmlns:atom="http://www.w3.org/2005/Atom" 
    xmlns:media="http://search.yahoo.com/mrss/" 
>
    <channel>
        <title><![CDATA[Linux Handbook]]></title>
        <description><![CDATA[An independent, reader-supported publication focusing on Linux Command Line, Server, Self-hosting, DevOps and Cloud Learning]]></description>
        <link>https://linuxhandbook.com</link>
        <image>
            <url>https://linuxhandbook.com/favicon.png</url>
            <title>Linux Handbook</title>
            <link>https://linuxhandbook.com</link>
        </image>
        <generator>Ghost 6.62</generator>
        <lastBuildDate>Mon, 14 Sep 2026 12:01:56 +0530</lastBuildDate>
        <atom:link href="https://linuxhandbook.com" rel="self" type="application/rss+xml"/>
        <ttl>60</ttl>

                <item>
                    <title><![CDATA[LHB Linux Digest #26.12: Demystifying diff, Process Substitution, History Trick, and More]]></title>
                    <description><![CDATA[Keep on Linux-ing :)]]></description>
                    <link>https://linuxhandbook.com/newsletter/26-12/</link>
                    <guid isPermaLink="false">6aa3a0e25616fe000191f4b3</guid>

                        <category><![CDATA[Newsletter]]></category>

                        <dc:creator><![CDATA[Abhishek Prakash]]></dc:creator>

                    <pubDate>Fri, 11 Sep 2026 17:29:04 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/09/lhb-newsletter-1--1.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/09/lhb-newsletter-1--1.png" alt="LHB Linux Digest #26.12: Demystifying diff, Process Substitution, History Trick, and More"/> <p>Last week, we revealed the <a href="https://linuxhandbook.com/courses/tmux/">Free Tmux course</a>. I am also working on creating roadmaps so that members can follow a dedicated learning path with all the resources we have created in the last 8 years. </p><p>Next week, we should have the GitOps course, focusing on ArgoCD. This will build upon the foundation of the <a href="https://linuxhandbook.com/courses/git/">Git basics course</a>. </p><h2 id="essential-linux-concept-diff">Essential Linux concept: diff</h2><p>All that Git talk actually rests on a very old, very simple Linux idea. You compare two versions of something, and then you act on the difference.</p><p>That's exactly what the <a href="https://linuxhandbook.com/diff-command/">diff command</a> does. You give it two files, and it tells you what you'd need to change in one to make it match the other. It's the same mental model your version control uses under the hood.</p><p>The output looks cryptic the first time you meet it, with things like <code>2c2</code>, <code>3a4</code> and <code>5d5</code>. Once you learn to read it, it makes complete sense. We explain the output line by line in <a href="https://linuxhandbook.com/diff-command/">this guide</a>.</p><p>Here's the part most of us forget: <code>diff</code> isn't limited to single files. With <code>diff -r</code> you can <a href="https://linuxhandbook.com/compare-directories/">compare two entire directories</a> and spot exactly how two config folders drifted apart. And if you find yourself creating temporary files just to compare two command outputs, <a href="https://linuxhandbook.com/bash-process-substitution/">process substitution</a> lets you do it in one line: <code>diff &lt;(command1) &lt;(command2)</code>.</p><h2 id="%F0%9F%92%A1quick-terminal-tip"><strong>💡</strong>Quick terminal tip</h2><p>Using history expansions like <code>!$</code> (last argument) or <code>!!</code> (entire previous command) can feel like a gamble when running destructive operations. You only see what it resolved to after you have pressed the Enter key.</p><p>Bind Readline's magic-space to expand history references instantly as soon as you press the Spacebar:</p><p>Open the <code>~/.inputrc</code> file and add the following line at the end.</p><pre><code class="language-bash">Space: magic-space
</code></pre><p>Restart the terminal session.</p><p>When you type <code>sudo !!</code> or <code>rm -rf !$</code> and hit Space, the shell immediately replaces the tokens with the full command string right in front of your eyes. You can review, edit, or back out before executing, eliminating both keystrokes and blind execution risk.</p><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/09/expansion.gif" class="kg-image" alt="" loading="lazy" width="826" height="493" srcset="https://linuxhandbook.com/content/images/size/w600/2026/09/expansion.gif 600w, https://linuxhandbook.com/content/images/2026/09/expansion.gif 826w" sizes="(min-width: 720px) 720px"></figure><h2 id="%F0%9F%9B%A0%EF%B8%8F-tool-discovery">🛠️ Tool discovery</h2><p>Let's see if you find your next favorite tool.</p><h3 id="monoscope-open-source-observability-and-trace-aggregator-for-distributed-microservices">Monoscope: Open-Source Observability and Trace Aggregator for Distributed Microservices</h3><p><a href="https://github.com/monoscope-tech/monoscope?ref=linuxhandbook.com">Monoscope</a> is an open-source observability engine tailored for developers needing unified log, metric, and distributed trace visibility across local containers and multi-service staging environments.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/monoscope-tech/monoscope?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - monoscope-tech/monoscope: Monoscope lets you ingest and explore your logs, traces and metrics. We store these in S3 compatible buckets. Query in natural language via LLMs.</div><div class="kg-bookmark-description">Monoscope lets you ingest and explore your logs, traces and metrics. We store these in S3 compatible buckets. Query in natural language via LLMs. - monoscope-tech/monoscope</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/favicon-52635665-88cc-48f3-9bb3-5a9f57fd4f90.png" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">monoscope-tech</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/monoscope-a2663e6d-d664-4511-b443-11fc5bc54be8" alt="" onerror="this.style.display = 'none'"></div></a></figure><h3 id="colanode-open-source-local-first-collaboration-workspace">Colanode: Open-Source, Local-First Collaboration Workspace</h3><p><a href="https://github.com/colanode/colanode?ref=linuxhandbook.com">Colanode</a> is an open-source, local-first collaboration platform designed to unify documents, structured databases, real-time chat, and file management under a self-hosted architecture.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/colanode/colanode?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - colanode/colanode: Open-source and local-first Slack and Notion alternative that puts you in control of your data</div><div class="kg-bookmark-description">Open-source and local-first Slack and Notion alternative that puts you in control of your data - colanode/colanode</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/favicon-2dfbdc72-08ac-4300-b39b-c57ba9001e03.png" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">colanode</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/colanode-89234355-a983-4274-92b2-23ab8a3ee963" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="%F0%9F%93%A3-event-alert">📣 Event alert</h2><p>AGNTCon + MCPCon Europe is happening in Amsterdam on 17–18 September, and if you're building anything in the agentic AI or MCP space, this is the event to attend.</p><p>The event is full of open source maintainers, enterprise engineers, infra and tooling folks, and researchers. </p><p>You'll bump into the people building MCP itself, alongside teams from AWS, Google, Hugging Face, Microsoft, Anthropic, Solo.io, and a long list of startups exploring Agentic AI.</p><p><strong>You can knock off your ticket prices with code ITSFOSS_50.</strong></p><p>🗓 17–18 September<br>📍 RAI Amsterdam</p><div class="kg-card kg-button-card kg-align-center"><a href="https://events.linuxfoundation.org/agntcon-mcpcon-europe/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Register for AGNTCon + MCPCon Europe</a></div><h2 id="%F0%9F%93%B0-linux-news-that-matters">📰 Linux news that matters</h2><ul><li><a href="https://itsfoss.com/news/broadcom-removes-vmware-vddk-downloads/?ref=linuxhandbook.com">Broadcom has quietly removed all public download pages for the VMware Virtual Disk Development Kit (VDDK)</a>, restricting future access exclusively to authorized Technology Alliance partners.</li><li><a href="https://www.bleepingcomputer.com/news/security/hackers-breach-f5-big-ip-apm-devices-to-deploy-linux-rootkit/?ref=linuxhandbook.com">Threat actors are actively breaching F5 BIG-IP APM appliances</a> to deploy "PoisonedRefresh," a stealthy Linux rootkit that persists across firmware upgrades and modifies SELinux policies.</li><li><a href="https://itsfoss.com/news/cern-debian-push/?ref=linuxhandbook.com">CERN is migrating over 2,200 accelerator control computers to Debian 13</a> to bypass restrictive enterprise CPU requirements and modernize hardware lifecycle management. In a parallel push toward digital sovereignty, the <a href="https://itsfoss.com/news/switzerland-replace-microssoft-pilot/?ref=linuxhandbook.com">Swiss government has launched a CHF 9 million pilot</a> deploying openDesk to replace Microsoft 365 across 3,000 federal workstations.</li><li><a href="https://www.phoronix.com/news/Intel-Dynamic-PAMT-For-7.4?ref=linuxhandbook.com">Intel's Dynamic PAMT support has been queued in the x86/tdx tree for Linux 7.4</a>, reducing the ~0.4% baseline memory overhead required by Trust Domain Extensions by allocating the Physical Address Metadata Table dynamically rather than upfront.</li><li><a href="https://www.marktechpost.com/2026/09/09/google-open-sources-mantis-a-modular-skills-toolkit-that-lets-coding-agents-find-reproduce-and-patch-vulnerabilities/?ref=linuxhandbook.com">Google has open-sourced Mantis under Apache 2.0</a>, providing a modular framework of slash-command skills that enables AI coding agents to manage end-to-end vulnerability triage.</li></ul><h2 id="%F0%9F%98%82-geek-humor">😂 Geek humor</h2><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/09/linuxhandbook_meme_september_2.jpg" class="kg-image" alt="" loading="lazy" width="1440" height="1440" srcset="https://linuxhandbook.com/content/images/size/w600/2026/09/linuxhandbook_meme_september_2.jpg 600w, https://linuxhandbook.com/content/images/size/w1000/2026/09/linuxhandbook_meme_september_2.jpg 1000w, https://linuxhandbook.com/content/images/2026/09/linuxhandbook_meme_september_2.jpg 1440w" sizes="(min-width: 720px) 720px"></figure><h2 id="%F0%9F%92%8C-keep-on-loving-linux-handbook">💌 Keep on loving Linux Handbook</h2><p>GitOps course is nearly ready. It should arrive next week. </p><p>Perfect time to <a href="https://linuxhandbook.com/#/portal/signup">become a Pro member</a> and enjoy unlimited access to our <a href="https://linuxhandbook.com/ebooks/">eBooks</a>, <a href="https://linuxhandbook.com/courses/">courses</a> and in-depth tutorials.</p><p><strong>Missed the previous editions?</strong>&nbsp;You can&nbsp;<a href="https://linuxhandbook.com/newsletter/">access the newsletter archives.</a></p><p>You may also <a href="https://linuxhandbook.com/write-for-us/">contribute to Linux Handbook</a> and share your experience and expertise with the community.</p><p>I like reading your messages, so just hit the reply button and share your thoughts 😄</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[LHB Linux Digest #26.11: New Free Course, Named Pipes, Multi-kernel and More]]></title>
                    <description><![CDATA[Enjoy the new course]]></description>
                    <link>https://linuxhandbook.com/newsletter/26-11/</link>
                    <guid isPermaLink="false">6a97f1ccc2467700014999bb</guid>

                        <category><![CDATA[Newsletter]]></category>

                        <dc:creator><![CDATA[Abhishek Prakash]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 19:00:39 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/09/lhb-newsletter-1-.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/09/lhb-newsletter-1-.png" alt="LHB Linux Digest #26.11: New Free Course, Named Pipes, Multi-kernel and More"/> <p>We have a new course, <a href="https://linuxhandbook.com/courses/tmux/">Tmux Fundamentals</a>. As evident from the name itself, the course teaches you the fundamentals of Tmux. </p><p>A terminal multiplexer like Tmux is a lifesaver if you connect to remote servers via SSH. No more session drops because your laptop went in sleep mode or if you forgot to stay connected in the terminal.</p><p>Tmux has a little learning curve, and that's the reason we created this new course. It is available to everyone for free. Enjoy 😄</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://linuxhandbook.com/courses/tmux/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Tmux Fundamentals: Free Course on Terminal Multiplexing</div><div class="kg-bookmark-description">Never lose a terminal session again! Learn tmux sessions, panes, and windows in this free, beginner-friendly course. No signup required.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/Linux-Handbook-New-Logo-fc83b8b6-6673-4a6f-8ee0-4730af602253.png" alt=""><span class="kg-bookmark-author">Linux Handbook</span><span class="kg-bookmark-publisher">Yash Kiran Patil</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/tmux-fundamentals-05e3dc3f-60a9-46ae-a66b-9907076fa22a.png" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="essential-linux-concept-named-pipe-redirection">Essential Linux concept: Named pipe redirection</h2><p>Most linux users are familiar with the concept of <a href="https://linuxhandbook.com/redirection-linux/">redirection</a>. One of the redirections is pipe. The vertical line | in the commands gives Linux an incredible power for combining commands.</p><p>But did you know that there is also <a href="https://linuxhandbook.com/pipe-redirection/">named pipes that exist like a file in the system</a>. Well, everything is file in Linux so that's not surprising. Named pipes can store output in memory buffer. It's an interesting concept that most of us Linux users don't come across every day.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://linuxhandbook.com/pipe-redirection/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Pipe redirection in Linux: Named and Unnamed Pipes</div><div class="kg-bookmark-description">There are two kinds of pipes in Linux: named and unnamed. Here’s a detailed look at pipe redirection.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/Linux-Handbook-New-Logo-428a1b97-5077-4356-bef3-e87d7cd3d71e.png" alt=""><span class="kg-bookmark-author">Linux Handbook</span><span class="kg-bookmark-publisher">Debdut Chakraborty</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/pipe-redirection-1-17911276-322c-487b-9ab7-b8400b276dca.png" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="interested-in-linux-kernel-developments">Interested in Linux kernel developments?</h2><p>Linux Foundation's instructor led training program on <a href="https://training.linuxfoundation.org/training/linux-kernel-internals-and-development/?ref=linuxhandbook.com">Linux Kernel Internals and Developments</a> is for you. The course is designed to provide experienced programmers with a solid understanding of the Linux kernel. </p><p>It is an instructor-led virtual session that will run from 9 to 5 for 4 days. Which means that it is like attending a training class but live on your computer. The next session runs on 28th September.</p><p>If you are working in a company, you can ask your boss or company to pay for this training. Tell them that you are getting a <strong>50% discount with ILTGTRITSFOSS coupon code that saves $1750</strong> on this specialized course.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://training.linuxfoundation.org/instructor-led-training-courses/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Use ILTGTRITSFOSS Coupon to get 50% off</a></div><h2 id="%F0%9F%92%A1quick-terminal-tip"><strong>💡Quick terminal tip</strong></h2><p>In a pipeline like <code>commandA | commandB | commandC</code>, the shell only records the exit code of the final command (commandC), quietly masking crashes or errors produced upstream.</p><p>Bash solves this with the built-in <code>${PIPESTATUS[@]}</code> array, which captures the discrete exit codes of every stage in your pipeline.</p><p>For example, in the below command:</p><pre><code>cat app.log | grep "FATAL" | awk '{print $2}'
echo "${PIPESTATUS[@]}"
</code></pre><p>The <code>${PIPESTATUS[@]}</code> array preserves the discrete exit code of every process in the pipeline, not just the <code>awk</code> command.</p><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/09/using-pipestatus.png" class="kg-image" alt="" loading="lazy" width="765" height="578" srcset="https://linuxhandbook.com/content/images/size/w600/2026/09/using-pipestatus.png 600w, https://linuxhandbook.com/content/images/2026/09/using-pipestatus.png 765w" sizes="(min-width: 720px) 720px"></figure><h2 id="%F0%9F%9B%A0%EF%B8%8F-tool-discovery">🛠️ Tool discovery</h2><p>Let's see if you find your next favorite tool.</p><h3 id="listmonk-self-hosted-newsletter-and-mailing-list-manager">Listmonk: Self-hosted, newsletter and mailing list manager</h3><p><a href="https://github.com/knadh/listmonk?ref=linuxhandbook.com">Listmonk</a> is an open-source, AGPL-licensed newsletter and mailing list manager packed into a single Go binary backed by a PostgreSQL database. It features a modern web dashboard with multi-threaded SMTP queues, dynamic templating, SQL-based subscriber segmentation, and an HTTP webhook interface for transactional messaging.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/knadh/listmonk?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - knadh/listmonk: High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.</div><div class="kg-bookmark-description">High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app. - knadh/listmonk</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/favicon-b6c33d2a-bc65-49cf-b27f-5a54d0decfef.png" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">knadh</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/8d94bb7b-e76e-4a8e-8944-ebee3c0d0e70-289b118f-21b5-4f6f-b921-68188e8d66e6" alt="" onerror="this.style.display = 'none'"></div></a></figure><h3 id="updo-real-time-uptime-monitoring-tool">Updo: Real-Time Uptime Monitoring Tool</h3><p><a href="https://github.com/Owloops/updo?ref=linuxhandbook.com">Updo</a> is an open-source Go CLI tool that monitors website uptime, response latency breakdowns (DNS, TCP, TTFB), and SSL certificate expiration in real time via an interactive TUI or plain-text mode.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/Owloops/updo?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - Owloops/updo: Uptime monitoring CLI tool with alerting and advanced settings</div><div class="kg-bookmark-description">Uptime monitoring CLI tool with alerting and advanced settings - Owloops/updo</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/favicon-20467a9d-122f-4027-b31c-ff16fd50015a.png" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">Owloops</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://opengraph.githubassets.com/f3f3ee71978813c484f281b94eb38b123b64537b699bc7498982480d18b41dd6/Owloops/updo" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="%F0%9F%93%B0-linux-news-that-matters">📰 Linux news that matters</h2><ul><li><a href="https://www.tomshardware.com/software/linux/linux-kernel-nears-2-000-cves-per-release-as-ai-bug-hunters-scour-40-million-lines-of-code-maintainers-say-they-are-completely-overwhelmed?ref=linuxhandbook.com">The Linux kernel is approaching 2,000 fixed CVEs</a> per release as automated LLM analysis floods maintainers with low-priority bug reports and hallucinated fixes across obscure code paths.</li><li><a href="https://itsfoss.com/news/multikernel-public-release/?ref=linuxhandbook.com">Multikernel Technologies has launched mklinux v7.0-mk2</a>, an open-source kernel fork that allows physical servers to run multiple independent Linux kernels side by side without a hypervisor.</li><li><a href="https://itsfoss.com/news/linux-kernel-repo-ai-overrun/?ref=linuxhandbook.com">Automated AI web scrapers are consuming</a> roughly 20% of git.kernel.org's total compute capacity by requesting individual HTML commit views instead of cloning repositories directly.</li><li><a href="https://itsfoss.com/news/debian-allows-ai-contribution/?ref=linuxhandbook.com">Debian has officially voted to allow generative AI tools</a> for development, maintenance, and documentation, placing full legal and technical accountability directly on the human contributor to review and test all submissions.</li><li><a href="https://www.phoronix.com/news/California-AB-1856-Passes?ref=linuxhandbook.com">California lawmakers have passed Assembly Bill 1856</a>, amending the upcoming Digital Age Assurance Act to formally exempt software and operating systems distributed under permissive licenses allowing copying, modification, and redistribution.</li></ul><h2 id="%F0%9F%98%82-geek-humor">😂 Geek humor</h2><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/09/lhb_meme-sept-1st-2026.jpg" class="kg-image" alt="" loading="lazy" width="1080" height="1080" srcset="https://linuxhandbook.com/content/images/size/w600/2026/09/lhb_meme-sept-1st-2026.jpg 600w, https://linuxhandbook.com/content/images/size/w1000/2026/09/lhb_meme-sept-1st-2026.jpg 1000w, https://linuxhandbook.com/content/images/2026/09/lhb_meme-sept-1st-2026.jpg 1080w" sizes="(min-width: 720px) 720px"></figure><h2 id="%F0%9F%92%8C-keep-on-loving-linux-handbook">💌 Keep on loving Linux Handbook</h2><p>GitOps course is nearly ready. It should arrive next week. </p><p>Perfect time to <a href="https://linuxhandbook.com/#/portal/signup">become a Pro member</a> and enjoy unlimited access to our <a href="https://linuxhandbook.com/ebooks/">eBooks</a>, <a href="https://linuxhandbook.com/courses/">courses</a> and in-depth tutorials.</p><p><strong>Missed the previous editions?</strong>&nbsp;You can&nbsp;<a href="https://linuxhandbook.com/newsletter/">access the newsletter archives.</a></p><p>You may also <a href="https://linuxhandbook.com/write-for-us/">contribute to Linux Handbook</a> and share your experience and expertise with the community.</p><p>I like reading your messages, so just hit the reply button and share your thoughts 😄</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Chapter 9: Your First Tmux Configuration]]></title>
                    <description><![CDATA[At this point, you can create sessions, organize them with windows, split windows into panes, navigate between them, resize and zoom panes, search terminal history, and build a complete tmux workspace.

So why configure tmux at all? The answer is simple.

After using tmux for a while, you&#39;ll]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/tmux-configuration/</link>
                    <guid isPermaLink="false">6a94f540c246770001499721</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 17:33:27 +0530</pubDate>


                    <content:encoded><![CDATA[<p>At this point, you can create sessions, organize them with windows, split windows into panes, navigate between them, resize and zoom panes, search terminal history, and build a complete tmux workspace.</p><p>So why configure tmux at all? The answer is simple.</p><p>After using tmux for a while, you'll start noticing small things you'd like to change. Maybe you want to use the mouse. Maybe you don't like the default prefix key. Maybe you want a shortcut for something you do repeatedly.</p><p>This is where the <strong>tmux configuration file</strong> comes in.</p><p>Don't worry, we're not going to turn this into an advanced configuration tutorial. The goal of this chapter is to make a few useful changes and, more importantly, help you understand how tmux configuration works.</p><h2 id="what-is-tmuxconf">What Is <code>.tmux.conf</code>?</h2><p>Tmux reads its configuration from a file called:</p><pre><code>~/.tmux.conf</code></pre><p>The <code>~</code> means your home directory. So if your username is <code>yash</code>, the file would normally be:</p><pre><code>/home/yash/.tmux.conf</code></pre><p>This file contains settings and key bindings that tell tmux how you want it to behave.</p><p>Think of it like this:</p><pre><code>Your preferences
      ↓
~/.tmux.conf
      ↓
Tmux
      ↓
Your customized workflow</code></pre><p>Without this file, tmux uses its default settings. With it, you can change those defaults.</p><h2 id="do-you-need-a-configuration-file">Do You Need a Configuration File?</h2><p>Not at all.</p><p>Tmux works perfectly well without one. The default configuration is enough to learn everything we've covered so far. In fact, I recommend using the defaults for a while before customizing anything.</p><p>Why?</p><p>Because you first want to understand <strong>how tmux works</strong>. Once you've actually used it, you'll know what you want to change. So think of configuration as:<strong> Making tmux fit your workflow, not fixing something that is broken.</strong></p><h2 id="create-your-first-tmuxconf">Create Your First <code>.tmux.conf</code></h2><p>Let's create the file. From your normal shell, run:</p><pre><code>touch ~/.tmux.conf</code></pre><p>Now open it in your editor. For example:</p><pre><code>nano ~/.tmux.conf</code></pre><p>You now have an empty tmux configuration file. Don't add ten settings at once. We'll start with something simple.</p><h3 id="enable-mouse-support">Enable Mouse Support</h3><p>One of the easiest beginner-friendly customizations is mouse support.</p><p>Add:</p><pre><code>set -g mouse on</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image-9.png" class="kg-image" alt="Enable mouse in config" loading="lazy" width="989" height="730" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image-9.png 600w, https://linuxhandbook.com/content/images/2026/08/image-9.png 989w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Enable mouse in config</span></figcaption></figure><p>Save the file. This enables mouse interaction for things such as selecting panes, resizing panes, scrolling and switching between windows.</p><p>This can make tmux feel much more familiar when you're just getting started.</p><h3 id="reload-the-configuration">Reload the Configuration</h3><p>There is one thing you need to understand before testing the change. Editing <code>.tmux.conf</code> does not automatically change an already-running tmux server. You need to tell tmux to reload the file.</p><p>Inside tmux, press:</p><pre><code>Ctrl+b :</code></pre><p>This opens the tmux command prompt. Now type:</p><pre><code>source-file ~/.tmux.conf</code></pre><p>and press Enter. Tmux will read the configuration file again. You can also run the same command from a shell using:</p><pre><code>tmux source-file ~/.tmux.conf</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-42-27_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-42-27.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="989" height="730" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 989 / 730; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-42-27_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:12</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Source config file</span></p></figcaption>
        </figure><p>You might wonder: Why not just close tmux and start it again?</p><p>You can. But reloading the configuration is much more convenient when you're experimenting. Imagine you are changing a key binding.</p><p>You edit the configuration:</p><pre><code>save</code></pre><p>Then reload:</p><pre><code>tmux source-file ~/.tmux.conf</code></pre><p>Test it. If you don't like it, change the file again and reload. You don't need to destroy your existing sessions and windows every time you make a small configuration change.</p><p>This becomes especially useful as your configuration grows.</p><h3 id="customizing-the-prefix-key">Customizing the Prefix Key</h3><p>You've been using the default prefix throughout this course:</p><pre><code>Ctrl+b</code></pre><p>Tmux uses this prefix to distinguish tmux commands from commands intended for your shell. For example:</p><pre><code>Ctrl+b c</code></pre><p>means: Send <code>c</code> to tmux to create a new window. Some users eventually change the prefix because <code>Ctrl+b</code> can feel inconvenient. A popular alternative is:</p><pre><code>Ctrl+a</code></pre><p>You can configure it with:</p><pre><code>set -g prefix C-a
unbind C-b
bind C-a send-prefix</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image-10.png" class="kg-image" alt="Set new Prefix Key" loading="lazy" width="989" height="730" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image-10.png 600w, https://linuxhandbook.com/content/images/2026/08/image-10.png 989w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Set new Prefix Key</span></figcaption></figure><p>Let's not rush into this one. If you're comfortable with <code>Ctrl+b</code>, <strong>there is no requirement to change it</strong>. In fact, for this beginner course, I recommend keeping the default unless you have a specific reason to change it.</p><h3 id="adding-a-simple-custom-key-binding">Adding a Simple Custom Key Binding</h3><p>Configuration becomes much more interesting when you start creating your own shortcuts. For example, suppose you frequently reload your tmux configuration. Instead of typing:</p><pre><code>Ctrl+b :
source-file ~/.tmux.conf</code></pre><p>you can create a shortcut. Add:</p><pre><code>bind r source-file ~/.tmux.conf</code></pre><p>Now:</p><pre><code>Ctrl+b r</code></pre><p>reloads your configuration. This is a simple example of the power of <code>.tmux.conf</code>:</p><pre><code>Shortcut
   ↓
Custom action
   ↓
Less repetitive typing</code></pre><p>Reload the configuration after adding it:</p><pre><code>tmux source-file ~/.tmux.conf</code></pre><p>Then test:</p><pre><code>Ctrl+b r</code></pre><p>At this point, you might have something like:</p><pre><code>set -g mouse on
bind r source-file ~/.tmux.conf</code></pre><p>That's enough. You do <strong>not</strong> need a huge configuration file to be productive. In fact, starting small makes troubleshooting much easier.</p><p>If something breaks later, you have only a few settings to investigate.</p><h2 id="what-you-have-learned">What You Have Learned</h2><p>You've now gone from starting your first tmux session to customizing how tmux behaves.</p><p>More importantly, you've learned the complete beginner workflow:</p><pre><code>Start tmux
    ↓
Create a session
    ↓
Organize with windows
    ↓
Split into panes
    ↓
Navigate and resize
    ↓
Search terminal history
    ↓
Detach
    ↓
Reconnect
    ↓
Customize</code></pre><p>You no longer need to think of tmux as a collection of shortcuts.</p><p>You can now think of it as a <strong>persistent workspace that you can organize and adapt to your own workflow</strong>.</p><p><strong>You've completed the beginner tmux workflow. From here, the best way to improve is simply to keep using it! See you next time!</strong></p><h2 id=""></h2>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Chapter 8: Build a Real Tmux Workflow]]></title>
                    <description><![CDATA[So far, you have learned the individual building blocks of tmux.

You know how to create sessions, organize work with windows, split windows into panes, move between panes, resize them, and use copy mode to work with terminal output.

But knowing these features separately is different from actually using tmux.]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/tmux-real-workflow/</link>
                    <guid isPermaLink="false">6a94f0c4c2467700014996ea</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 17:32:59 +0530</pubDate>


                    <content:encoded><![CDATA[<p>So far, you have learned the individual building blocks of tmux.</p><p>You know how to create sessions, organize work with windows, split windows into panes, move between panes, resize them, and use copy mode to work with terminal output.</p><p>But knowing these features separately is different from actually using tmux. So in this chapter, we're going to put everything together. Instead of learning another set of commands, we're going to build a <strong>real tmux workspace</strong> from scratch.</p><p>Imagine you're working on an application running on a remote Linux server. You need to start the application, watch its logs, run commands, and keep an eye on the system.</p><p>By the end of this chapter, you'll have a workflow you can adapt to your own work.</p><h2 id="the-workflow-were-going-to-build">The Workflow We're Going to Build</h2><p>Let's start by deciding what we need. For this example, we'll use one session called:</p><pre><code>my-api</code></pre><p>Inside that session, we'll have three windows:</p><pre><code>my-api
│
├── app
├── logs
└── system</code></pre><p>The idea is simple:</p><ul><li><strong>app</strong>: run application commands</li><li><strong>logs</strong>: watch application output</li><li><strong>system</strong>: monitor the server and run diagnostics</li></ul><p>We can also split the <code>app</code> window into panes when we need multiple things visible at the same time.</p><p>Our final workspace will look roughly like this:</p><pre><code>Session: my-api

Window 0: app
┌──────────────────────────┬────────────────────┐
│                          │                    │
│      application         │      commands      │
│                          │                    │
└──────────────────────────┴────────────────────┘

Window 1: logs
┌─────────────────────────────────────────────────┐
│                                                 │
│              application logs                   │
│                                                 │
└─────────────────────────────────────────────────┘

Window 2: system
┌──────────────────────────┬────────────────────┐
│                          │                    │
│       monitoring         │     diagnostics    │
│                          │                    │
└──────────────────────────┴────────────────────┘</code></pre><p>Don't worry about building this perfectly on the first attempt. The goal is to understand <strong>how you decide what belongs in a session, window, or pane</strong>.</p><h2 id="step-1-create-the-session">Step 1: Create the Session</h2><p>Start from your normal terminal. Create a named session:</p><pre><code>tmux new -s my-api</code></pre><p>You're now inside the <code>my-api</code> session. This session represents the entire application context. If you're working remotely, you can think of it as:</p><pre><code>Server
  │
  └── my-api session</code></pre><p>Everything we create next will belong to this session.</p><h2 id="step-2-create-the-windows">Step 2: Create the Windows</h2><p>Your first window already exists. Let's use it for the application.</p><p>Rename it:</p><pre><code>Ctrl+b ,</code></pre><p>Enter:</p><pre><code>app</code></pre><p>Now create another window:</p><pre><code>Ctrl+b c</code></pre><p>Rename it:</p><pre><code>Ctrl+b ,</code></pre><p>and call it:</p><pre><code>logs</code></pre><p>Create one more:</p><pre><code>Ctrl+b c</code></pre><p>Rename it:</p><pre><code>Ctrl+b ,</code></pre><p>and enter:</p><pre><code>system</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-17-55-42_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-17-55-42.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1011" height="757" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1011 / 757; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-17-55-42_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:41</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Creating the structure </span></p></figcaption>
        </figure><p>You should now have:</p><pre><code>0:app
1:logs
2:system</code></pre><p>in your tmux status bar.</p><h2 id="step-3-set-up-the-application-window">Step 3: Set Up the Application Window</h2><p>Move back to window 0:</p><pre><code>Ctrl+b 1</code></pre><p>Now let's create two panes. Split the window:</p><pre><code>Ctrl+b %</code></pre><p>You now have two panes side by side. Use one for the application and the other for commands. For example, you might run:</p><pre><code>./start-app.sh</code></pre><p>in one pane. And leave the other available for commands such as:</p><pre><code>git status</code></pre><p>or:</p><pre><code>curl http://localhost:8080/health</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-20-11_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-20-11.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1011" height="757" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1011 / 757; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-20-11_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:19</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Apps window with two panes</span></p></figcaption>
        </figure><p>The exact commands will depend on your project. The important part is the workflow.</p><pre><code>app window

┌────────────────────────┬─────────────────────┐
│                        │                     │
│      Application       │      Commands       │
│                        │                     │
└────────────────────────┴─────────────────────┘</code></pre><p>Now you don't need to keep switching between two terminals just to see your application and run a command.</p><h2 id="step-4-set-up-the-logs-window">Step 4: Set Up the Logs Window</h2><p>Move to the logs window:</p><pre><code>Ctrl+b 2</code></pre><p>Now imagine your application writes to:</p><pre><code>application.log</code></pre><p>You might run:</p><pre><code>tail -f application.log</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-21-31_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-21-31.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1011" height="757" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1011 / 757; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-21-31_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:08</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Logs window of the application</span></p></figcaption>
        </figure><p>The terminal will continuously display new log entries. This window now has one clear purpose:<strong> Watch what's happening inside the application.</strong></p><p>If an error occurs, you can immediately see it without interrupting the application window. For a real project, you might instead use commands such as:</p><pre><code>journalctl -f</code></pre><p>or whatever logging tool your application uses. The exact command isn't the point here. The important idea is that the <strong>window has a dedicated responsibility</strong>.</p><h2 id="step-5-set-up-the-system-window">Step 5: Set Up the System Window</h2><p>Now move to:</p><pre><code>Ctrl+b 3</code></pre><p>This window can be used for system monitoring. Split it:</p><pre><code>Ctrl+b %</code></pre><p>In one pane, you could run:</p><pre><code>top</code></pre><p>and use the other pane for diagnostic commands:</p><pre><code>df -h</code></pre><p>or:</p><pre><code>free -h</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-22-40_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-22-40.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1011" height="757" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1011 / 757; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-22-40_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:15</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">System window of application</span></p></figcaption>
        </figure><p>Now your workspace has three distinct areas:</p><pre><code>my-api
│
├── app
│    ├── application
│    └── commands
│
├── logs
│    └── application logs
│
└── system
     ├── monitoring
     └── diagnostics</code></pre><p>This is a much more useful setup than simply opening six unrelated terminal windows.</p><h2 id="step-6-move-around-the-workspace">Step 6: Move Around the Workspace</h2><p>Now practice navigating. Jump directly to your windows:</p><pre><code>Ctrl+b 1
Ctrl+b 2
Ctrl+b 3</code></pre><p>Move between panes:</p><pre><code>Ctrl+b ←
Ctrl+b →
Ctrl+b ↑
Ctrl+b ↓</code></pre><p>You can now move from:</p><pre><code>application
   ↓
logs
   ↓
monitoring</code></pre><p>without opening another terminal. This is where the session → window → pane model starts becoming natural.</p><h2 id="step-7-deal-with-a-large-log-output">Step 7: Deal With a Large Log Output</h2><p>Now imagine something goes wrong. Your logs contain a large amount of output and you need to find an error. Move to the logs window:</p><pre><code>Ctrl+b 1</code></pre><p>Enter copy mode:</p><pre><code>Ctrl+b [</code></pre><p>Search for:</p><pre><code>/</code></pre><p>Then enter something like:</p><pre><code>ERROR</code></pre><p>You can now inspect the matching output. This is where the things you learned in Chapter 7 become part of the workflow rather than isolated commands.</p><p>You are using:</p><pre><code>Window → Logs
      ↓
Copy Mode
      ↓
Search
      ↓
Inspect error</code></pre><h2 id="step-8-what-if-you-need-to-leave-without-disconnecting">Step 8: What If You Need to Leave Without Disconnecting?</h2><p>You don't always need to wait for your SSH connection to disappear. You can safely leave your tmux workspace whenever you want. Press:</p><pre><code>Ctrl+b d</code></pre><p>The session continues running. Later:</p><pre><code>tmux attach -t my-api</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-35-53_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-35-53.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1011" height="757" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1011 / 757; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-31-18-35-53_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:08</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Detach the current session and reattach</span></p></figcaption>
        </figure><p>You're back. This is the workflow you will eventually use almost automatically when working on remote servers:</p><pre><code>SSH
 ↓
Attach/Create tmux
 ↓
Work
 ↓
Detach
 ↓
Leave server
 ↓
Return later
 ↓
Attach
 ↓
Continue</code></pre><p>You know how to create the workspace, organize it, work inside it, leave it running, and come back later. That's already enough to make tmux useful in everyday work.</p><p>But there is one final step. Once you've used tmux for a while, you'll probably notice small things you'd like to change.</p><p>Maybe you want mouse support. Maybe you prefer a different prefix key. Maybe you want a custom shortcut. That's where configuration comes in.</p><p>In the <strong>final chapter</strong>, we'll create your <strong>first <code>.tmux.conf</code></strong> and make a few practical customizations without turning tmux into a complicated configuration project.</p><h2 id=""></h2>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Chapter 7: Copy Mode - Scroll, Search and Copy Terminal Output]]></title>
                    <description><![CDATA[So far, you&#39;ve learned how to organize your tmux workspace using sessions, windows, and panes. But there&#39;s one problem you&#39;ll run into very quickly.

Your terminal can produce a lot of output.

Maybe you&#39;re checking application logs. Maybe a command printed hundreds]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/tmux-copy-mode-2/</link>
                    <guid isPermaLink="false">6a93eadbc246770001499597</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 16:39:43 +0530</pubDate>


                    <content:encoded><![CDATA[<p>So far, you've learned how to organize your tmux workspace using sessions, windows, and panes. But there's one problem you'll run into very quickly.</p><p>Your terminal can produce <strong>a lot of output</strong>.</p><p>Maybe you're checking application logs. Maybe a command printed hundreds of lines. Maybe an error happened somewhere near the top of the output.</p><p>You try to scroll up and suddenly you're not looking at the part you need.</p><p>This is where <strong>tmux copy mode</strong> becomes useful.</p><p>Copy mode lets you move through the history of a tmux pane, search through that output, select text, and copy it.</p><p>In this chapter, we'll learn how to use it without getting into complicated clipboard configuration. By the end, you'll be able to inspect large amounts of terminal output and grab the information you need.</p><h2 id="why-do-we-need-copy-mode">Why Do We Need Copy Mode?</h2><p>Let's start with a simple example.</p><p>Run:</p><pre><code>seq 1 100</code></pre><p>You'll get:</p><pre><code>1
2
3
4
...
97
98
99
100</code></pre><p>Now imagine this wasn't 100 lines but several thousand lines of application logs.</p><p>You might want to go back and find something that appeared earlier.</p><p>That's what copy mode is designed for.</p><p>Instead of treating your terminal as a screen that only shows the latest output, tmux gives you a way to scroll through the <strong>scrollback history</strong> of the pane.</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-27-53_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-27-53.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="995" height="725" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 995 / 725; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-27-53_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:14</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Scrollback history in copy mode</span></p></figcaption>
        </figure><h2 id="move-through-terminal-history">Move Through Terminal History</h2><p>Once you're in copy mode, you can move through the output.</p><p>Use the arrow keys to move around:</p><pre><code>↑
↓
←
→</code></pre><p>You can also use the Page Up and Page Down keys to move through larger sections of output.</p><p>For example:</p><pre><code>Page Up   → Move back through output
Page Down → Move forward</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-32-23_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-32-23.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="995" height="725" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 995 / 725; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-32-23_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:22</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Moving through terminal history</span></p></figcaption>
        </figure><p>You can also use the mouse wheel in environments where mouse support is enabled, but for now I want you to understand the actual tmux copy mode workflow.</p><p>This is particularly useful with logs.</p><h2 id="search-through-output">Search Through Output</h2><p>Scrolling is useful when you know roughly where the information is. But what if your log contains thousands of lines and you're looking specifically for:</p><pre><code>Hit</code></pre><p>You don't want to scroll through everything manually. You can search. While inside copy mode, press:</p><pre><code>/ </code></pre><p>This will <strong>Scroll Down Search.</strong></p><pre><code class="language-bash">?</code></pre><p>This will help to <strong>Scroll Up Search. </strong>Then try to search for the keyword you are looking for in the search history.</p><pre><code>Hit</code></pre><p>Press Enter. Tmux will search through the available history and take you to a matching result.</p><p>You can move to the next match using:</p><pre><code>n</code></pre><p>and search in the opposite direction with:</p><pre><code>N</code></pre><p>The exact search behavior can depend on the mode and configuration you're using, but the basic workflow is:</p><pre><code>Ctrl+b [
   ↓
/
   ↓
Type search term
   ↓
Enter
   ↓
Inspect matching output</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-43-48_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-43-48.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="995" height="725" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 995 / 725; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-43-48_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:16</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Searching in the tmux copy mode </span></p></figcaption>
        </figure><p>If you are not able to perform these set of commands you can set the following in the last of your tmux config file:</p><pre><code class="language-bash">set -g mode-keys vi
set -g search-default-case-insensitive on</code></pre><h2 id="select-and-copy-text">Select and Copy Text</h2><p>Now let's do the second important job of copy mode. Suppose you've found an error like this:</p><pre><code> An error occurred during the signature verification.</code></pre><p>You may want to copy that line and paste it somewhere else, likely your AI buddy. Inside copy mode, you can enter selection mode by pressing:</p><pre><code>Space</code></pre><p>Now move the cursor to select the text you need.</p><p>Depending on your tmux configuration and version, you can navigate through the text using the keyboard and extend the selection.</p><p>Once you've selected the text, press:</p><pre><code>Enter</code></pre><p>to copy the selected text into tmux's paste buffer.</p><p>The important workflow is:</p><pre><code>Enter copy mode
      ↓
Find the text
      ↓
Start selection
      ↓
Select text
      ↓
Copy</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-53-51_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-53-51.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="995" height="725" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 995 / 725; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-53-51_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:23</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Select and copy text form output</span></p></figcaption>
        </figure><h2 id="pasting-what-you-copied">Pasting What You Copied</h2><p>Once you've copied something, tmux stores it in its <strong>paste buffer</strong>.</p><p>To paste the most recently copied text, use:</p><pre><code>Ctrl+b ]</code></pre><p>For example:</p><pre><code>Ctrl+b [</code></pre><p>Find and copy:</p><pre><code>ERROR: connection refused</code></pre><p>Then return to your shell and press:</p><pre><code>Ctrl+b ]</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-56-41_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-56-41.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="995" height="725" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 995 / 725; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-17-56-41_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:06</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Pasting the recently copied output</span></p></figcaption>
        </figure><p>The copied text will be pasted into the current pane. This is different from your operating system's normal clipboard.</p><p>Tmux maintains its own paste buffers, which means it can keep text copied from its terminal environment even when you're working inside a remote session.</p><h2 id="exiting-copy-mode">Exiting Copy Mode</h2><p>Once you're finished looking through the history, press:</p><pre><code>q</code></pre><p>This exits copy mode and returns you to the normal tmux pane.</p><p>So the complete basic workflow becomes:</p><pre><code>Ctrl+b [
   ↓
Copy mode
   ↓
Scroll / Search
   ↓
Select / Copy
   ↓
Ctrl+b ]
   ↓
Paste
   ↓
q
   ↓
Back to normal shell</code></pre><p>You don't have to think about all of these operations every time.</p><p>Most of the time, you'll use copy mode because you need to <strong>inspect something that has already scrolled away</strong>.</p><h2 id="what-about-mouse-support">What About Mouse Support?</h2><p>You may have noticed that using the keyboard for copy mode can feel different from how you normally select text in a terminal.</p><p>Tmux also supports mouse interaction when mouse mode is enabled. For example, with mouse support configured, you can use the mouse to:</p><ul><li>scroll through panes</li><li>select text</li><li>interact with panes and windows</li></ul><p>We'll cover mouse support more properly when we introduce tmux configuration in the final chapter. For now, learn the keyboard-based copy mode workflow first.</p><p>That way, you won't depend on a particular terminal emulator or mouse setup.</p><p>In the next chapter, we'll build a <strong>complete real-world tmux workflow</strong> using sessions, windows, panes, persistence, and copy mode.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Chapter 6: Panes - Split, Navigate, Resize and Zoom]]></title>
                    <description><![CDATA[In the previous chapter, you learned how to use windows to organize different tasks inside a tmux session.

Now let&#39;s make those windows more useful.

Imagine you are working on a server and want to watch your application logs while running commands at the same time. Opening another]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/tmux-panes/</link>
                    <guid isPermaLink="false">6a93b563c246770001499516</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 16:38:39 +0530</pubDate>


                    <content:encoded><![CDATA[<p>In the previous chapter, you learned how to use windows to organize different tasks inside a tmux session.</p><p>Now let's make those windows more useful.</p><p>Imagine you are working on a server and want to watch your application logs while running commands at the same time. Opening another window would work, but you'd have to keep switching back and forth.</p><p>What if you could see both at once? That's exactly what <strong>panes</strong> are for.</p><p>A pane is simply a terminal area inside a tmux window. You can split one window into multiple panes and work in each of them independently.</p><p>By the end of this chapter, you'll be able to create splits, move between panes, resize them, and temporarily make one pane fill the entire screen.</p><h2 id="what-is-a-pane">What Is a Pane?</h2><p>Let's start with the hierarchy you've already learned:</p><pre><code>Session
   │
   └── Window
          │
          ├── Pane
          └── Pane</code></pre><p>A window can contain one pane or several panes. For example, a single window normally looks like:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image-7.png" class="kg-image" alt="" loading="lazy" width="1069" height="754" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image-7.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/08/image-7.png 1000w, https://linuxhandbook.com/content/images/2026/08/image-7.png 1069w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">single window terminal</span></figcaption></figure><p>After splitting it vertically:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image-8.png" class="kg-image" alt="" loading="lazy" width="1069" height="754" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image-8.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/08/image-8.png 1000w, https://linuxhandbook.com/content/images/2026/08/image-8.png 1069w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">vertically split window</span></figcaption></figure><p>Now both panes are terminals, and you can run a different command in each one. This is one of the most useful everyday features of tmux.</p><h2 id="create-your-first-pane-split">Create Your First Pane Split</h2><p>Let's try it. Start inside a tmux session and press:</p><pre><code>Ctrl+b %</code></pre><p>The <code>%</code> tells tmux to split the current window vertically. You'll now have two panes side by side. Try running a command in one pane:</p><pre><code>ls</code></pre><p>Then move to the other pane and run:</p><pre><code>pwd</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-28-34_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-28-34.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1069" height="754" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1069 / 754; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-28-34_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:13</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">split panes and perform indivisual commands</span></p></figcaption>
        </figure><p>You now have two independent shells visible at the same time.</p><h2 id="split-horizontally">Split Horizontally</h2><p>You can also split the window from top to bottom.</p><p>Press:</p><pre><code>Ctrl+b "</code></pre><p>This creates a horizontal split.</p><p>For example:</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-30-28_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-30-28.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1069" height="754" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1069 / 754; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-30-28_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:09</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">split pane horizantally</span></p></figcaption>
        </figure><p>The two split commands are easy to confuse at first:</p><pre><code>Ctrl+b %   → vertical split
Ctrl+b "   → horizontal split</code></pre><p>Don't worry if these shortcuts don't feel intuitive yet. After using them a few times, they become much easier to remember.</p><h2 id="move-between-panes">Move Between Panes</h2><p>Creating panes is only half the job. Now you need to move between them.</p><p>Use:</p><pre><code>Ctrl+b ↑
Ctrl+b ↓
Ctrl+b ←
Ctrl+b →</code></pre><p>Press the prefix first, release it, and then press the arrow key.</p><p>So, for example:</p><pre><code>Ctrl+b →</code></pre><p>moves you to the pane on the right.</p><p>Similarly:</p><pre><code>Ctrl+b ↓</code></pre><p>moves you to the pane below.</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-33-08_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-33-08.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1103" height="794" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1103 / 794; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-33-08_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:13</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Moving between panes</span></p></figcaption>
        </figure><p>This is one of those shortcuts that becomes second nature fairly quickly.</p><h2 id="resize-a-pane">Resize a Pane</h2><p>By default, tmux gives your panes roughly equal space. But sometimes you need one pane to be larger.</p><p>For example, your logs might need most of the screen while your command pane only needs a small section.</p><p>You can resize panes using the prefix and arrow keys:</p><pre><code>Ctrl+b Ctrl+↑
Ctrl+b Ctrl+↓
Ctrl+b Ctrl+←
Ctrl+b Ctrl+→</code></pre><p>Notice that this is slightly different from navigation.</p><p>For navigation:</p><pre><code>Ctrl+b ↑</code></pre><p>For resizing:</p><pre><code>Ctrl+b Ctrl+↑</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-36-45_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-36-45.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1103" height="794" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1103 / 794; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-36-45_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:12</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Resizing panes </span></p></figcaption>
        </figure><p>You press the prefix, then hold <code>Ctrl</code> while pressing the arrow key. You can repeat the command to make the pane larger or smaller.</p><h2 id="why-would-you-resize-panes">Why Would You Resize Panes?</h2><p>Let's use a practical example.</p><p>Suppose you're following a log:</p><pre><code>tail -f application.log</code></pre><p>You may want that pane to be large because you're constantly reading new output. Your second pane might only be used for occasional commands.</p><p>So instead of:</p><pre><code>┌────────────────────┬────────────────────┐
│                    │                    │
│       logs         │      shell         │
│                    │                    │
└────────────────────┴────────────────────┘</code></pre><p>you could resize it to:</p><pre><code>┌──────────────────────────────┬───────────┐
│                              │           │
│            logs              │   shell   │
│                              │           │
│                              │           │
└──────────────────────────────┴───────────┘</code></pre><p>This is one of the reasons panes are more useful than simply opening multiple terminal windows. You can adjust the layout to match the task you're doing.</p><h2 id="zoom-a-pane">Zoom a Pane</h2><p>Sometimes even a resized pane isn't enough. Maybe you're working inside a small pane and suddenly need the whole screen.</p><p>You don't need to destroy your layout. You can <strong>zoom the current pane</strong>.</p><p>Press:</p><pre><code>Ctrl+b z</code></pre><p>The current pane expands to fill the entire tmux window. The other panes are still there; they're simply hidden temporarily.</p><p>Press:</p><pre><code>Ctrl+b z</code></pre><p>again to return to the previous layout. For more clarity, you can see below.</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-43-30_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-43-30.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1103" height="794" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1103 / 794; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-43-30_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:07</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Zooming into one pane and return</span></p></figcaption>
        </figure><p>This is particularly useful when you have a complicated layout but need to focus on one task for a moment.</p><h2 id="close-a-pane">Close a Pane</h2><p>When you're finished with a pane, you can simply type:</p><pre><code>exit</code></pre><p>That closes the shell running inside that pane.</p><p>You can also use:</p><pre><code>Ctrl+b x</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-45-02_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-45-02.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1103" height="794" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1103 / 794; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-30-13-45-02_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:10</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Closing a pane</span></p></figcaption>
        </figure><p>Tmux will ask you to confirm before closing the pane. Remember that closing a pane also closes the processes running inside it.</p><p>So if you have a server running there, closing the pane can stop that server.</p><h2 id="panes-in-a-real-workflow">Panes in a Real Workflow</h2><p>Now think about the kind of workflow you might actually use.</p><p>For a web application, you could have:</p><pre><code>┌──────────────────────────────┬─────────────────┐
│                              │                 │
│        Application           │      Logs       │
│                              │                 │
├──────────────────────────────┴─────────────────┤
│               Monitoring                       │
│          top / htop / other tool               │
└────────────────────────────────────────────────┘</code></pre><p>For a development workflow:</p><pre><code>┌───────────────────────────┬─────────────────────┐
│                           │                     │
│         Editor            │      Terminal       │
│                           │                     │
├───────────────────────────┴─────────────────────┤
│                 Test output                     │
└─────────────────────────────────────────────────┘</code></pre><p>And for remote server troubleshooting:</p><pre><code>┌──────────────────────────┬──────────────────────┐
│                          │                      │
│          Logs            │       Commands       │
│                          │                      │
├──────────────────────────┴──────────────────────┤
│               System monitoring                 │
└─────────────────────────────────────────────────┘</code></pre><p>The important idea isn't to memorize one perfect layout.</p><p>It's to understand that <strong>you can build the layout around the work you're doing</strong>.</p><p>In the next chapter, we'll learn how to move through terminal history, search output, select text, and copy information from a tmux pane.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Chapter 5: Windows - Organize Your Work Inside a Session]]></title>
                    <description><![CDATA[In the previous chapter, you learned how to create, name, detach, and reattach tmux sessions.

Now you already have the main workspace. But imagine you&#39;re working on a project and need to do several things at once.

You want one terminal for your application, another for logs, another]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/tmux-windows/</link>
                    <guid isPermaLink="false">6a8fa72cc24677000149916e</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 16:37:22 +0530</pubDate>


                    <content:encoded><![CDATA[<p>In the previous chapter, you learned how to create, name, detach, and reattach tmux sessions.</p><p>Now you already have the main workspace. But imagine you're working on a project and need to do several things at once.</p><p>You want one terminal for your application, another for logs, another for Git commands, and another for testing. You could open four separate terminal windows.</p><p>Or, you can keep everything inside the same tmux session. That's where <strong>windows</strong> come in.</p><p>A tmux window is essentially a terminal tab inside a session. Once you understand sessions, windows are the next layer of organization.</p><h2 id="what-is-a-tmux-window">What Is a Tmux Window?</h2><p>Remember the hierarchy from Chapter 1:</p><pre><code>Session
   │
   ├── Window
   ├── Window
   └── Window</code></pre><p>A session represents the overall context. Windows represent the different tasks inside that context. For example, imagine you're working on an application called <code>my-api</code>.</p><p>You could have: my-api: (editor, server, logs, git), which will look like below in tmux:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image-6.png" class="kg-image" alt="" loading="lazy" width="1258" height="601" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image-6.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/08/image-6.png 1000w, https://linuxhandbook.com/content/images/2026/08/image-6.png 1258w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">multiple windows in a session</span></figcaption></figure><p>All four windows belong to the same <code>my-api</code> session. This is useful because everything related to the project stays together.</p><h2 id="create-a-new-window">Create a New Window</h2><p>Let's create one. Inside your tmux session, press:</p><pre><code>Ctrl+b c</code></pre><p>Remember the prefix sequence:</p><ol><li>Press <code>Ctrl+b</code></li><li>Release the keys</li><li>Press <code>c</code></li></ol><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-38-42_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-38-42.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1126" height="723" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1126 / 723; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-38-42_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:18</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">new window creation in tmux</span></p></figcaption>
        </figure><p>A new window appears. You are now working inside that new window. You can run any normal commands here.</p><p>The important part is that you haven't created a new session. You've simply created another workspace <strong>inside the same session</strong>.</p><h2 id="switch-between-windows">Switch Between Windows</h2><p>Once you have multiple windows, you need a way to move between them.</p><p>Use:</p><pre><code>Ctrl+b n</code></pre><p>This moves to the <strong>next window</strong>.</p><p>To move to the previous window:</p><pre><code>Ctrl+b p</code></pre><p>You can also jump directly to a window by its number.</p><p>For example:</p><pre><code>Ctrl+b 2</code></pre><p>takes you to window <code>2</code>.</p><p>And:</p><pre><code>Ctrl+b 1</code></pre><p>takes you to window <code>1</code>.</p><p>You can see below how the star pointer changes when we change windows:</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-46-10_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-46-10.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1126" height="723" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1126 / 723; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-46-10_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:13</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Switching between windows in tmux</span></p></figcaption>
        </figure><p>This is one reason the numbers shown in the tmux status bar are useful.</p><h2 id="rename-a-window">Rename a Window</h2><p>The default window name is usually based on the process running inside it.</p><p>For example, you might see:</p><pre><code>0:bash</code></pre><p>That's not very descriptive.</p><p>Let's give the window a useful name.</p><p>Press:</p><pre><code>Ctrl+b ,</code></pre><p>Tmux will ask you for a new name.</p><p>For example:</p><pre><code>editor</code></pre><p>Press Enter.</p><p>Your status bar should now show something similar to:</p><pre><code>1:editor</code></pre><p>Now you immediately know what that window is for.</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-49-05_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-49-05.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1126" height="723" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1126 / 723; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-49-05_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:13</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">renaming a window in tmux</span></p></figcaption>
        </figure><p>Good names make a big difference once you have several windows.</p><h2 id="close-a-window">Close a Window</h2><p>When you're finished with a window, you can close it by exiting the shell running inside it:</p><pre><code>exit</code></pre><p>If that is the only shell in the window, the window closes.</p><p>You can also use the tmux command:</p><pre><code>Ctrl+b &amp;</code></pre><p>Tmux will ask you to confirm before killing the current window.</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-52-16_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-52-16.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1126" height="723" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1126 / 723; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-27-08-52-16_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:16</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Closing a window in tmux</span></p></figcaption>
        </figure><p>Be careful with this command because closing a window also closes the processes running inside it.</p><p>For example, if a server is running in that window, closing the window will terminate that server process.</p><p>So think of it this way:</p><pre><code>Create window → Start work
Close window  → Finish that workspace</code></pre><p>All of these windows are still part of the <strong>same session</strong>. That means you can detach from the session and later reattach your windows will still be there. This is the combination that makes tmux powerful.</p><h2 id="practice">Practice</h2><div class="kg-card kg-callout-card kg-callout-card-accent"><div class="kg-callout-emoji">✏️</div><div class="kg-callout-text"><i><b><strong class="italic" style="white-space: pre-wrap;">Try This:</strong></b></i><br>Spend a few minutes switching between your windows without looking at the shortcut table. The goal isn't perfect memorization yet; it's becoming comfortable moving around your tmux workspace.</div></div><p>Create a session called:</p><pre><code>tmux new -s practice</code></pre><p>Create three windows and name them:</p><pre><code>commands
logs
monitoring</code></pre><p>Practice moving between them. Then detach:</p><pre><code>Ctrl+b d</code></pre><p>and reattach:</p><pre><code>tmux attach -t practice</code></pre><p>Your windows should still be exactly where you left them. You now know how to organize different tasks using windows. But sometimes switching between windows isn't enough.</p><p>What if you want to see your application logs <strong>and</strong> run commands at the same time? Instead of creating another window, you can split the current window into multiple terminal areas.</p><p>Those are called <strong>panes</strong>. In the next chapter, we'll create, navigate, resize, and zoom panes!</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Chapter 4: Sessions - Create, Name, Detach and Reattach]]></title>
                    <description><![CDATA[So far, you have installed tmux, started your first session, and learned how the prefix key works.

Now we get to the feature that makes tmux genuinely useful. Sessions. A tmux session is a workspace that can keep running even after you leave it. This is what allows you to]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/tmux-sessions/</link>
                    <guid isPermaLink="false">6a8e5718c246770001498fd7</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 16:33:15 +0530</pubDate>


                    <content:encoded><![CDATA[<p>So far, you have installed tmux, started your first session, and learned how the prefix key works.</p><p>Now we get to the feature that makes tmux genuinely useful. <strong>Sessions. </strong>A tmux session is a workspace that can keep running even after you leave it. This is what allows you to disconnect from a server and come back later without rebuilding everything from scratch.</p><p>Let's see how that works.</p><h2 id="what-is-a-tmux-session">What Is a Tmux Session?</h2><p>Whenever you run:</p><pre><code class="language-bash">tmux</code></pre><p>tmux creates a session for you. You can think of a session as a container for your terminal work.</p><p>For example:</p><pre><code class="language-bash">Session: my-project 
          │ 
          ├── Window 0 
          ├── Window 1 
          └── Window 2</code></pre><p>Later, those windows can contain multiple panes, but for now, focus on the session itself.A session usually represents one main context.</p><p>For example:</p><pre><code>my-project
production
debugging</code></pre><p>You might use separate sessions for separate projects, servers, or tasks.</p><h2 id="create-a-named-session">Create a Named Session</h2><p>If you know what the session is for, it's much better to give it a name. Use:</p><pre><code>tmux new -s my-project</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-37-44_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-37-44.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1104" height="728" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1104 / 728; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-37-44_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:13</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Create a named session → my-project</span></p></figcaption>
        </figure><p>Here:<code>new</code> tells tmux to create a new session. <code>-s</code> means we are giving the session a name.<code>my-project</code> is the session name. </p><p>Now you have a session called <code>my-project</code>. Naming sessions becomes especially useful when you have more than one. Instead of wondering which session is which, the name tells you immediately.</p><h2 id="see-your-sessions">See Your Sessions</h2><p>Now let's say you have created a few sessions. How do you find out which ones are currently running?</p><p>Run:</p><pre><code>tmux ls</code></pre><p>or:</p><pre><code>tmux list-sessions</code></pre><p>You'll see something similar to:</p><figure class="kg-card kg-video-card kg-width-regular" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-41-58_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-41-58.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1104" height="728" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1104 / 728; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-41-58_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:13</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            
        </figure><p>The exact output will be different on your system. The important part is that tmux is showing you the sessions that currently exist.</p><p>This becomes one of the commands you'll use often when working with multiple sessions.</p><h2 id="detach-without-stopping-your-work">Detach Without Stopping Your Work</h2><p>Now let's try the most important part. Suppose you're inside your <code>my-project</code> session and a command is running.</p><p>You don't want to close the session. You simply want to leave it for now. This is where <strong>detach</strong> comes in.</p><p>Press:</p><pre><code>Ctrl+b d</code></pre><p>Remember how the prefix works:  Press <code>Ctrl+b,</code> Release both keys, Press <code>d</code>.</p><p>You should see something like:</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-47-54_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-47-54.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1104" height="728" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1104 / 728; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-47-54_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:04</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Detached session is still running</span></p></figcaption>
        </figure><p>You are now back in your normal terminal. But here's the important part:<strong> The tmux session is still running.</strong> You have left the session without shutting it down.</p><div class="kg-card kg-callout-card kg-callout-card-accent"><div class="kg-callout-emoji">💡</div><div class="kg-callout-text">This distinction is one of the most important in tmux:<br>Detach → Leave session running <br>Exit → Close the shell/session</div></div><h2 id="reattach-to-your-session">Reattach to Your Session</h2><p>Now let's get back into the session. First, list your sessions:</p><pre><code>tmux ls</code></pre><p>Then attach to <code>my-project</code>:</p><pre><code>tmux attach -t my-project</code></pre><p>You can also use the shorter form:</p><pre><code>tmux a -t my-project</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-52-17_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-52-17.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1104" height="728" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1104 / 728; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-52-17_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:13</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Reattaching the session in tmux</span></p></figcaption>
        </figure><p>You're back. Your windows are still there. Your windows are still there. Your panes are still there and any process that continued running is still there.</p><h2 id="rename-a-session">Rename a Session</h2><p>Sometimes you create a session with a temporary name and later realize you want something clearer.</p><p>You can rename the current session using:</p><pre><code>Ctrl+b $</code></pre><p>Enter the new name and press Enter.</p><p>You can also rename a session from the command line:</p><pre><code>tmux rename-session -t my-project api-server</code></pre><p>Now the session is called:</p><pre><code>api-server</code></pre><p>It will look similar like this:</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-57-19_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-57-19.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1104" height="728" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1104 / 728; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-57-19_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:17</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Renaming a session</span></p></figcaption>
        </figure><h2 id="kill-a-session">Kill a Session</h2><p>When you are completely finished with a session, you can remove it.</p><p>From outside tmux:</p><pre><code>tmux kill-session -t api-server</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-59-25_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-59-25.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1104" height="728" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1104 / 728; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-26-08-59-25_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:13</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Kill a detached session</span></p></figcaption>
        </figure><p>Or, while inside the session, you can simply exit all shells in that session. Be careful here.<strong> Killing a session closes it and terminates the processes running inside it.</strong></p><p>Now you can now manage the basic lifecycle of a tmux session: Create, Name, Use, Detach, Reattach, Rename / Kill a session.</p><p>But a session alone isn't enough for a useful workflow.</p><p>Soon you'll want one place for logs, another for your editor, another for commands, and perhaps another for monitoring.</p><p>That's where <strong>windows</strong> come in. In the next chapter, we'll learn how to organize multiple tasks inside the same tmux session.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Chapter 3: The Tmux Prefix Key &amp; Essential Shortcuts]]></title>
                    <description><![CDATA[In the previous chapter, you started tmux and saw that it still feels like a normal terminal. You can run commands, work with files, and use your shell just as you normally would.

Now you need a way to tell tmux: &quot;I want you to do something, not my]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/tmux-essential-shortcuts/</link>
                    <guid isPermaLink="false">6a8da16dc246770001498ed7</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 16:23:46 +0530</pubDate>


                    <content:encoded><![CDATA[<p>In the previous chapter, you started tmux and saw that it still feels like a normal terminal. You can run commands, work with files, and use your shell just as you normally would.</p><p>Now you need a way to tell tmux: "I want you to do something, not my shell." That is what the <strong>prefix key</strong> does.</p><p>Once you understand this one idea, tmux shortcuts stop feeling like a collection of random key combinations. Almost every tmux action follows the same pattern: <strong>press the prefix, then choose the action you want</strong>.</p><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-25-20-05-12_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-25-20-05-12.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1104" height="711" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1104 / 711; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-25-20-05-12_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:11</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">Prefix key with different actions</span></p></figcaption>
        </figure><h2 id="what-is-the-tmux-prefix">What Is the Tmux Prefix?</h2><p>By default, tmux uses: <code>Ctrl+b</code> as its <strong>prefix key</strong>.</p><p>The prefix is like a signal to tmux: Pay attention. The next key I press is a command for you. </p><p>For example, to create a new window, you use: <code>Ctrl+b</code> then <code>c</code> The important part is how you press it. You press: <code>Ctrl+b</code> release both keys, and then press: <code>c</code> So don't think of this as one large keyboard combination.</p><p>That two-step pattern is the foundation for the rest of tmux.</p><h2 id="why-does-tmux-need-a-prefix">Why Does Tmux Need a Prefix?</h2><p>You might be wondering why tmux cannot simply use keys such as <code>c</code>, <code>n</code>, or <code>z</code> directly. The reason is that those keys already belong to your shell and the programs running inside it.</p><p>Imagine you are typing:</p><pre><code>cd projects</code></pre><p>You expect your shell to receive those characters.</p><p>Tmux cannot treat every <code>c</code> you type as: "Create a new window." That would make normal terminal work impossible. The prefix gives tmux a clean boundary between <strong>normal keyboard input</strong> and <strong>tmux commands</strong>.</p><p>Without the prefix:</p><pre><code>Your keyboard
     ↓
   Shell</code></pre><p>With the prefix:</p><pre><code>Your keyboard
     ↓
   Ctrl+b
     ↓
   Tmux
     ↓
 Action key</code></pre><p>So when you press <code>Ctrl+b</code> tmux knows that the next key has a special meaning. That is why you can continue typing normal Linux commands without tmux constantly getting in the way.</p><h2 id="learn-the-shortcut-pattern">Learn the Shortcut Pattern</h2><p>The easiest way to learn tmux is not to memorize every shortcut separately.</p><p>Learn the pattern first:</p><pre><code>Ctrl+b then &lt;key&gt;</code></pre><p>Then learn what the key represents.</p><p>For example:</p><pre><code>Ctrl+b then c</code></pre><p>means: <em>Create a new window.</em></p><p>And:</p><pre><code>Ctrl+b then d</code></pre><p>means: <em>Detach from the current session.</em></p><p>The prefix stays the same. Only the action key changes.</p><p>This is what makes tmux much easier to learn than it initially appears. You are not learning a completely different interface for every feature. You are learning one command pattern and gradually adding actions to it.</p><h2 id="the-essential-shortcuts">The Essential Shortcuts</h2><p>Let's start with the shortcuts you will use throughout this course.</p><table>
<thead>
<tr>
<th>Shortcut</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Ctrl+b</code> then <code>c</code></td>
<td>Create a new window</td>
</tr>
<tr>
<td><code>Ctrl+b</code> then <code>n</code></td>
<td>Move to the next window</td>
</tr>
<tr>
<td><code>Ctrl+b</code> then <code>p</code></td>
<td>Move to the previous window</td>
</tr>
<tr>
<td><code>Ctrl+b</code> then <code>,</code></td>
<td>Rename the current window</td>
</tr>
<tr>
<td><code>Ctrl+b</code> then <code>%</code></td>
<td>Split the window vertically</td>
</tr>
<tr>
<td><code>Ctrl+b</code> then <code>"</code></td>
<td>Split the window horizontally</td>
</tr>
<tr>
<td><code>Ctrl+b</code> then <code>z</code></td>
<td>Zoom the current pane</td>
</tr>
<tr>
<td><code>Ctrl+b</code> then <code>d</code></td>
<td>Detach from tmux</td>
</tr>
</tbody>
</table>
<p>You do <strong>not</strong> need to memorize all of these immediately. Instead, understand what problem each shortcut solves. </p><p>You don't have to memorize every tmux binding because tmux can show you its key bindings.</p><p>Inside tmux, press:</p><pre><code>Ctrl+b then ?</code></pre><figure class="kg-card kg-video-card kg-width-regular kg-card-hascaption" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-25-21-23-16_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-25-21-23-16.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="1104" height="711" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 1104 / 711; background: transparent url('https://linuxhandbook.com/content/media/2026/08/Screencast-from-2026-08-25-21-23-16_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:07</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p><span style="white-space: pre-wrap;">tmux available key bindings</span></p></figcaption>
        </figure><p>Tmux will display a list of available key bindings. That makes learning much less stressful.</p><p>If these shortcuts make sense, you're ready for the next step. You now know <strong>how to communicate with tmux</strong>. </p><p>In the next chapter, we'll use these shortcuts to work with <strong>sessions,</strong> creating named workspaces, detaching from them, finding them again, and reattaching later without losing your work.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Chapter 2: Get Tmux Running]]></title>
                    <description><![CDATA[In the previous chapter, we looked at the problem tmux solves and why persistent terminal sessions are useful, especially when working over SSH.

Now it&#39;s time to actually use tmux.

In this chapter, we&#39;ll install tmux on your system, verify that everything is working, start your]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/get-tmux/</link>
                    <guid isPermaLink="false">6a85ab4ac246770001490894</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 15:28:26 +0530</pubDate>


                    <content:encoded><![CDATA[<p>In the previous chapter, we looked at the problem tmux solves and why persistent terminal sessions are useful, especially when working over SSH.</p><p>Now it's time to actually use tmux.</p><p>In this chapter, we'll install tmux on your system, verify that everything is working, start your first tmux session, and understand what you see when tmux starts.</p><p>We won't configure anything yet. For now, the goal is simple:</p><blockquote><strong>Get tmux running and get comfortable inside your first session.</strong></blockquote><p>Once that works, we'll start learning how to control tmux in the next chapter.</p><h2 id="installing-tmux">Installing Tmux</h2><p>The good news is that tmux is available through the package manager on most Linux distributions, so installation is usually just one command.</p><p>On Ubuntu or Debian-based systems, run:</p><pre><code class="language-bash">sudo apt update
sudo apt install tmux</code></pre><p>The first command refreshes your package information, and the second installs tmux.</p><p>On Arch:</p><pre><code>sudo pacman -S tmux</code></pre><p>If you're using another distribution, use the command for your system from the examples above. Verify the Installation before starting tmux: </p><pre><code class="language-bash">tmux -V</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image-4.png" class="kg-image" alt="tmux version" loading="lazy" width="759" height="217" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image-4.png 600w, https://linuxhandbook.com/content/images/2026/08/image-4.png 759w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">tmux version</span></figcaption></figure><h2 id="start-tmux">Start Tmux</h2><p>Now comes the fun part. Type <code>tmux</code> in your terminal and that's it, you have just started your first tmux session. </p><p>At first glance, almost nothing may seem different. Your shell still works normally, and you can still run Linux commands just like before.</p><p>But look at the <strong>bottom of your terminal</strong>. You should now see a tmux status bar. A typical tmux screen looks roughly like this:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/Screencastfrom2026-08-1918-49-13-ezgif.com-video-to-gif-converter.gif" class="kg-image" alt="Tmux first session" loading="lazy" width="800" height="500" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/Screencastfrom2026-08-1918-49-13-ezgif.com-video-to-gif-converter.gif 600w, https://linuxhandbook.com/content/images/2026/08/Screencastfrom2026-08-1918-49-13-ezgif.com-video-to-gif-converter.gif 800w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Tmux first session</span></figcaption></figure><p>Let's break down the status bar without going too deep yet. You may see something similar to:</p><pre><code>[0] 1:bash*</code></pre><p>The <code>1</code> represents the first window. The <code>bash</code> part tells you the shell running inside that window. The <code>*</code> marks the active window.</p><p>The Linux commands behave exactly as they normally would. Tmux isn't replacing your shell or changing how Linux commands work. It is managing the terminal environment around your shell.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image-5.png" class="kg-image" alt="persistent session and multiple panes of Tmux" loading="lazy" width="1680" height="944" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image-5.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/08/image-5.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/08/image-5.png 1600w, https://linuxhandbook.com/content/images/2026/08/image-5.png 1680w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">persistent session and multiple panes of Tmux</span></figcaption></figure><p>Type <code>exit</code> and press Enter. The tmux status bar disappears, and you return to your normal terminal. Later, you'll learn another operation called <strong><code>detach</code></strong>.</p><p>So far, we've only started tmux and observed what it looks like. But you may already be wondering <strong>how do I actually control tmux? </strong>That's what we'll answer next.</p><p>In the next chapter, we'll learn the <strong>tmux prefix key</strong> - the small but important concept that lets you send commands to tmux without accidentally sending them to your shell.</p><p>Once you understand the prefix key, the rest of tmux starts to feel much more predictable.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Chapter 1: Why Tmux? Understanding Terminal Multiplexing]]></title>
                    <description><![CDATA[If you have ever run a long command over SSH and lost it because your connection dropped, you already understand the pain tmux solves.

Tmux is a terminal multiplexer. In plain language, it lets you run and manage multiple terminal workspaces inside one terminal environment, and it keeps those workspaces]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/why-tmux/</link>
                    <guid isPermaLink="false">6a81432aa56acc000174915f</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 15:23:15 +0530</pubDate>


                    <content:encoded><![CDATA[<p>If you have ever run a long command over SSH and lost it because your connection dropped, you already understand the pain tmux solves.</p><p>Tmux is a terminal multiplexer. In plain language, it lets you run and manage multiple terminal workspaces inside one terminal environment, and it keeps those workspaces alive even when your network session dies.</p><p>In this chapter, I want you to understand that core idea first. We will get into the shortcuts and commands later. For now, let us focus on <strong>why tmux is useful and what problem it actually solves</strong>.</p><h2 id="the-problem-tmux-solves">The Problem Tmux Solves</h2><p>Without tmux, your remote shell is tied to your current SSH connection.</p><pre><code class="language-bash">ssh user@server
</code></pre><p>You now have a shell running through that connection. Perhaps you start a long command:</p><pre><code class="language-bash">./deploy.sh
</code></pre><p>Everything is fine as long as the connection stays alive.<br>But what happens if your network drops? The connection disappears, and your shell can disappear with it. For demo I will connect to my localhost and try a long-running command without Tmux:</p><figure class="kg-card kg-video-card kg-width-regular" data-kg-thumbnail="https://linuxhandbook.com/content/media/2026/08/without_tmux-1_thumb.jpg" data-kg-custom-thumbnail="">
            <div class="kg-video-container">
                <video src="https://linuxhandbook.com/content/media/2026/08/without_tmux-1.mp4" poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="931" height="657" loop="" autoplay="" muted="" playsinline="" preload="metadata" style="aspect-ratio: 931 / 657; background: transparent url('https://linuxhandbook.com/content/media/2026/08/without_tmux-1_thumb.jpg') 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"></rect>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:11</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1×</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"></path>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"></path>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            
        </figure><p>This becomes frustrating when you are running: database imports, backups, deployment scripts, long test runs, builds, log monitoring, etc.</p><p>Tmux adds a persistent layer between your SSH connection and the work you are doing. Now your SSH connection can disappear while the tmux session continues running on the server.</p><p>Later, you reconnect and attach to the same session.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/with_turmux.gif" class="kg-image" alt="scenario with tmux" loading="lazy" width="800" height="564" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/with_turmux.gif 600w, https://linuxhandbook.com/content/images/2026/08/with_turmux.gif 800w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">scenario with tmux</span></figcaption></figure><p>The visual representation below explains the problem Tmux solves for your use cases </p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image.png" class="kg-image" alt="The problem TMUX solves" loading="lazy" width="1536" height="1024" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/08/image.png 1000w, https://linuxhandbook.com/content/images/2026/08/image.png 1536w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">The problem TMUX solves</span></figcaption></figure><h2 id="what-does-terminal-multiplexer-mean"><strong>What Does "Terminal Multiplexer" Mean?</strong></h2><p>The name sounds complicated, but the idea is simple.<strong> </strong>Tmux gives you three main layers:</p><p>Think of them like this:<strong> Session -</strong> your main workspace, <strong>Window</strong> - a tab inside that workspace, <strong>Pane -</strong> a split terminal inside a window</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image-1.png" class="kg-image" alt="window and pane view" loading="lazy" width="1302" height="596" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image-1.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/08/image-1.png 1000w, https://linuxhandbook.com/content/images/2026/08/image-1.png 1302w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">window and pane view</span></figcaption></figure><p>This structure lets you keep related work together without opening a huge number of separate terminal windows.</p><h2 id="who-benefits-most-from-tmux"><strong>Who Benefits Most From Tmux?</strong></h2><p>Tmux can help anyone who spends a lot of time in the terminal, but it is especially useful for: developers, DevOps and SRE engineers, system administrators, anyone running long terminal processes, or Linux learners who want a more organized workflow.</p><p>Even on your local machine, tmux can reduce terminal-tab clutter. And you don't need to be an advanced Linux user to benefit from it. The basic workflow already gives you most of the value: <strong>sessions → windows → panes → detach → reattach</strong> </p><h2 id="a-real-world-scenario"><strong>A Real-World Scenario</strong></h2><p>Imagine you are debugging an application on a production server.<br>You need to:</p><pre><code class="language-bash">Logs
Monitoring
Diagnostics
Health checks</code></pre><p>Without tmux, you might open four separate terminal tabs. With tmux, you can organize everything inside one session:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/08/image-3.png" class="kg-image" alt="real world scenario for tmux" loading="lazy" width="788" height="599" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/image-3.png 600w, https://linuxhandbook.com/content/images/2026/08/image-3.png 788w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">real world scenario for tmux</span></figcaption></figure><p>That's the basic flow you need to understand. In the next chapter, we'll install tmux and get our hands on it for the first time!<br></p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Tmux Fundamentals]]></title>
                    <description><![CDATA[Never lose a terminal session again! Learn tmux sessions, panes, and windows in this free, beginner-friendly course. No signup required.]]></description>
                    <link>https://linuxhandbook.com/courses/tmux/</link>
                    <guid isPermaLink="false">6a9a9048c246770001499bee</guid>

                        <category><![CDATA[Tmux]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 04 Sep 2026 15:18:37 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/09/tmux-fundamentals.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/09/tmux-fundamentals.png" alt="Tmux Fundamentals"/> <p>Your SSH connection drops mid-deploy. Your laptop goes to sleep. You accidentally close the wrong tab. And just like that, the build log you were watching, the SSH session you had open on three servers, the half-finished debugging session...all gone.</p><p><strong>Tmux fixes this.</strong></p><p>Tmux (terminal multiplexer) lets you run multiple terminal sessions inside a single window, keep them alive even after you disconnect, and pick up exactly where you left off, on the same machine or a different one entirely. </p><p><strong>It's one of those tools that, once you learn it, you wonder how you worked without it.</strong></p><h2 id="why-learn-tmux">Why learn tmux?</h2><ul><li><strong>Sessions that survive disconnects: </strong>Close your laptop, lose your SSH connection, or walk away entirely. Your session keeps running and you reattach right where you left off.</li><li><strong>Split panes, no extra windows:</strong> View logs, edit a file, and run a build, all in one terminal window, side by side.</li><li><strong>Multiple windows, one session: O</strong>rganize your work like browser tabs, but built into your terminal.</li><li><strong>Works everywhere: N</strong>o GUI required. If you can SSH into it, you can run tmux on it.</li><li><strong>Build repeatable workflows:</strong> Script your entire dev environment to open exactly the way you like it, every time.</li></ul><p>If you spend any real time in a terminal like SSHing into servers, running long processes, working across multiple projects at once, tmux isn't optional for you. You will save a lot of frustration and productive hours.</p><p>Tmux has a little learning curve, but it pays off in the long run. Ask any senior engineer.</p><h2 id="what-youll-learn">What you'll learn</h2><p>By the end of this free Tmux course, you'll be able to:</p><ul><li>Keep a terminal session running even after your SSH connection drops or your laptop sleeps</li><li>Split your terminal into multiple panes and jump between them without touching your mouse</li><li>Organize different tasks across windows, all inside a single tmux session</li><li>Scroll back through terminal output and copy text using only the keyboard</li><li>Set up a real, repeatable workflow instead of retyping the same commands every time</li><li>Write your own tmux configuration so it starts up exactly the way you want, every time</li></ul><p>No prior tmux experience needed, just basic comfort with a terminal.</p><h2 id="who-this-course-is-for">Who this course is for</h2><ul><li>Developers and sysadmins who SSH into remote servers regularly</li><li>Anyone who's lost work to a dropped connection or an accidentally closed terminal</li><li>Self-hosters and homelab enthusiasts managing multiple long-running processes</li><li>Command-line users who are tired of juggling a dozen terminal windows</li><li>Complete tmux beginners</li></ul><h2 id="why-learn-tmux-with-us">Why learn tmux with us?</h2><p>Most tmux guides stop at a keybinding cheat sheet. This course doesn't.</p><p>It's built around <strong>actually using tmux</strong>, not memorizing commands in isolation. It also includes a dedicated chapter on building a real, practical workflow, and another on writing your own tmux configuration so it feels like <em>your</em> terminal, not a default install. </p><p>Every chapter is short, hands-on, and something you can follow along with in your own terminal as you read.</p><p><strong>And it's completely free. No signup, no paywall, no catch.</strong></p><h2 id="ready-to-start">Ready to start?</h2><p>Jump into <strong>Chapter 1: Why Tmux? Understanding Terminal Multiplexing</strong> and get your first session running in the next few minutes.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[LHB Linux Digest #26.10: systemd Playbook, Redirection, &quot;forgit&quot; and More]]></title>
                    <description><![CDATA[Time to explore systemd]]></description>
                    <link>https://linuxhandbook.com/newsletter/26-10/</link>
                    <guid isPermaLink="false">6a86d3f5c246770001490a32</guid>

                        <category><![CDATA[Newsletter]]></category>

                        <dc:creator><![CDATA[Abhishek Prakash]]></dc:creator>

                    <pubDate>Fri, 21 Aug 2026 18:11:17 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/08/lhb-newsletter.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/08/lhb-newsletter.png" alt="LHB Linux Digest #26.10: systemd Playbook, Redirection, &quot;forgit&quot; and More"/> <p>Even after all these years, some people still have a strong dislike for systemd. My colleague, Umair, <a href="https://linuxhandbook.com/dont-hate-systemd/">stopped hating systemd</a> after realizing its automation capabilities.</p><p>He has created two courses on systemd:</p><ul><li><a href="https://linuxhandbook.com/courses/systemd-playbook/">Systemd playbook</a>: A hands-on, text-based course to turn you into a confident systemd user.</li><li><a href="https://linuxhandbook.com/courses/systemd-automation/">Systemd automation</a>: Learn to schedule, monitor, sandbox, and optimize automated workflows.</li></ul><p>The best way to learn anything on Linux is by getting your hands on the system. That's the approach we take on Linux Handbook.</p><p>Other than us, here are several other platforms you can use to <a href="https://linuxhandbook.com/blog/platforms-learn-devops-hands-on/">learn DevOps with practical, hands-on labs</a>.</p><h2 id="basic-but-essential-linux-concept-and">Basic but essential Linux concept: &lt;, &lt;&lt; and &lt;&lt;&lt;</h2><p>You'll often see &lt;, &lt;&lt; and &lt;&lt;&lt; in various Linux command examples. It is important to know what they mean.</p><ul><li><code>&lt;</code> : It is known as <strong><code>Input Redirection</code></strong> and is used to take input from a file rather than typing instructions manually.</li><li><code>&lt;&lt;</code>: It is known as <strong><code>Here Document</code> </strong>which is used to provide multiple lines of input directly to the command.</li><li><code>&lt;&lt;&lt;</code>: It is known as <strong><code>Here String</code></strong> and used to provide a single line of input to the command.</li></ul><p>I know it sounds super complex but <a href="https://linuxhandbook.com/here-input-redirections/">this article explains it in details</a>.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://linuxhandbook.com/here-input-redirections/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">What do &lt;, &lt;&lt; and &lt;&lt;&lt; mean in Linux?</div><div class="kg-bookmark-description">The &lt;, &lt;&lt; and &lt;&lt;&lt; look similar to redirection indicators but they have a different purpose. Learn about them.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/Linux-Handbook-New-Logo-cfcb2c95-dd66-478c-94a8-6de624ebce77.png" alt=""><span class="kg-bookmark-author">Linux Handbook</span><span class="kg-bookmark-publisher">Sagar Sharma</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/what-is--in-input-redirection-linux-3b445b87-012f-4b05-b9f2-ed44997801ff.png" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="%F0%9F%8E%AB-event-alert-agntconmcpcon-japan">🎫 Event alert: AGNTCon+MCPCon Japan</h2><p>Whether you're building AI agents, adopting the Model Context Protocol (MCP), developing MCP servers and clients, or exploring the future of agentic AI, this is the event where the community comes together to share ideas, solve challenges, and shape what's next for the AI ecosystem.</p><p>Happening in Tokyo, Japan, on 10-11th September. <strong>If you want to attend, use coupon code ITSFOSS30 to get 30% discount on the event ticket pricing.</strong></p><div class="kg-card kg-button-card kg-align-center"><a href="https://events.linuxfoundation.org/agntcon-mcpcon-japan/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Event details (use ITSFOSS30 for discount)</a></div><h2 id="%F0%9F%92%A1quick-terminal-tip"><strong>💡Quick terminal tip</strong></h2><p>In Bash (and other Readline-based shells), navigating complex directories often means dealing with annoying typos or mixed case sensitivity. You can make Tab auto-complete paths regardless of capitalization while cleanly expanding common file prefixes before cycling through options.</p><p>Add these lines to your <code>~/.inputrc</code> file:</p><pre><code class="language-bash"># Ignore uppercase/lowercase differences during Tab completion
set completion-ignore-case on

# Treat hyphens (-) and underscores (_) as equivalent
set completion-map-case on

# Complete shared prefixes before cycling through individual choices
set menu-complete-display-prefix on
</code></pre><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/08/completion-new.gif" class="kg-image" alt="" loading="lazy" width="1040" height="560" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/completion-new.gif 600w, https://linuxhandbook.com/content/images/size/w1000/2026/08/completion-new.gif 1000w, https://linuxhandbook.com/content/images/2026/08/completion-new.gif 1040w" sizes="(min-width: 720px) 720px"></figure><p>Now, if you have files named <code>Project-Alpha.txt</code> and <code>Project-Beta.txt</code>, typing <code>cd pro</code> and pressing Tab will first safely expand your prompt to the longest shared prefix (<code>cd Project-</code>). Pressing Tab a second time begins stepping smoothly through each matching file, completely ignoring letter case.</p><h2 id="%F0%9F%9B%A0%EF%B8%8F-tool-discovery">🛠️ Tool discovery</h2><p>Check out these hidden gems.</p><h3 id="tuicr-terminal-native-code-review">tuicr: Terminal Native Code Review</h3><p><a href="https://github.com/agavra/tuicr?ref=linuxhandbook.com" rel="noopener nofollow"><code>tuicr</code></a> is an open-source Rust TUI utility designed to streamline code review workflows across multiple version control systems using modal, Vim-style navigation. The application aggregates multi-file diffs into a unified stream, allowing users to leave granular, line-level comments and submit them directly as live reviews to major code hosting platforms.</p><ul><li>⚡ Terminal-native, Vim-centric diffs with seamless modal navigation</li><li>🔄 Multi-VCS compatibility for unified reviews across git, jj, and hg</li><li>💬 Inline line-level commenting submitted directly to GitHub, GitLab, and Bitbucket</li><li>🤖 Structured markdown export to clipboard/stdout tailored for AI agent workflows</li><li>🦀 Ultra-fast Rust binary delivering zero-dependency CLI execution</li></ul><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/agavra/tuicr?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - agavra/tuicr: a code review TUI with vim keybindings</div><div class="kg-bookmark-description">a code review TUI with vim keybindings. Contribute to agavra/tuicr development by creating an account on GitHub.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/favicon-2bffe746-39d8-478b-bb74-ff1d254339d8.png" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">agavra</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/tuicr-1d7fe1a3-338c-49a2-85cf-cc5832de97ed" alt="" onerror="this.style.display = 'none'"></div></a></figure><h3 id="forgit-interactive-git-usage-with-fzf">forgit: Interactive Git usage with fzf</h3><p><a href="https://github.com/wfxr/forgit?ref=linuxhandbook.com" rel="noopener nofollow">Forgit</a> is a shell utility that leverages fzf to provide interactive, terminal-native interfaces for routine version control operations. The tool integrates directly with CLI syntax highlighters while remaining lightweight and shell-agnostic across common terminal environments.</p><ul><li>⚡ Fuzzy-search Git selectors with interactive diff and log previews</li><li>🌿 Interactive branch and worktree management for seamless switching</li><li>🛠️ Automated <code>.gitignore</code> generator to fetch templates straight from your terminal</li><li>⏪ Interactive rebase and fixup tools to easily squash and reorder commits</li><li>🎨 Extensible preview integration using external tools like delta for diffs and bat for syntax highlighting</li></ul><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/wfxr/forgit?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - wfxr/forgit: :zzz: A utility tool powered by fzf for using git interactively.</div><div class="kg-bookmark-description">:zzz: A utility tool powered by fzf for using git interactively. - wfxr/forgit</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/favicon-ff0d4bbe-db05-4700-be54-682fd1fb224a.png" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">wfxr</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/forgit-c7071854-8457-4bbf-950b-523665b2a6fc" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="%F0%9F%93%B0-linux-news-that-matters">📰 Linux news that matters</h2><ul><li><a href="https://www.phoronix.com/news/Synx?ref=linuxhandbook.com" rel="noopener nofollow">Qualcomm has started a Linux kernel discussion about upstreaming Synx</a>, a vendor-agnostic global synchronization framework for coordinating fences across different processors, firmware, and Linux-hosted clients. </li><li>Linux wireless maintainer Johannes Berg has announced that <a href="https://www.phoronix.com/news/Linux-WiFi-Strict-AI-Slop-Patch?ref=linuxhandbook.com" rel="noopener nofollow">AI/LLM-generated patches will generally be ignored</a> unless a quick review makes the fix “obviously right,” following a similar move in the kernel staging area. </li><li><a href="https://arstechnica.com/ai/2026/08/cloudflare-open-sources-vibe-coding-platform-for-people-who-arent-coders/?ref=linuxhandbook.com" rel="noreferrer">Cloudflare has open-sourced Cloudflare OS</a> (VibeSDK), an internal platform enabling non-technical personnel to build and deploy applications via natural language prompts. </li><li><a href="https://www.marktechpost.com/2026/08/06/microsoft-open-sources-code-testing-generator/?ref=linuxhandbook.com" rel="noopener nofollow">Microsoft has open-sourced code-testing-generator</a>, an MIT-licensed polyglot unit test creation agent hosted within the dotnet/skills repository. </li><li>Senior Linux kernel maintainer Greg Kroah-Hartman has <a href="https://itsfoss.com/news/linux-drivers-staging-ai-rejection/?ref=linuxhandbook.com" rel="noopener nofollow">established a explicit policy rejecting LLM-generated patch submissions</a> targeting the drivers/staging tree. </li><li><a href="https://devops.com/flooding-dropper-is-hitting-npm-with-a-tidal-wave-of-malicious-packages/?ref=linuxhandbook.com" rel="noopener nofollow">Sonatype researchers have identified an automated supply-chain campaign</a> dubbed "Flooding Dropper" that has published nearly 850 malicious npm packages distributed across hundreds of disposable accounts. </li><li><a href="https://www.phoronix.com/news/Modular-Mojo-Open-Source?ref=linuxhandbook.com" rel="noreferrer">Modular has released the complete source code for the Mojo language compiler</a>, runtime, and development tooling under the Apache 2.0 license with LLVM exceptions following its 1.0 release. </li></ul><h2 id="%F0%9F%98%82-geek-humor">😂 Geek humor</h2><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/08/lhb-meme-aug-2026.jpg" class="kg-image" alt="" loading="lazy" width="1080" height="1080" srcset="https://linuxhandbook.com/content/images/size/w600/2026/08/lhb-meme-aug-2026.jpg 600w, https://linuxhandbook.com/content/images/size/w1000/2026/08/lhb-meme-aug-2026.jpg 1000w, https://linuxhandbook.com/content/images/2026/08/lhb-meme-aug-2026.jpg 1080w" sizes="(min-width: 720px) 720px"></figure><h2 id="%F0%9F%92%8C-keep-on-loving-linux-handbook">💌 Keep on loving Linux Handbook</h2><p>GitOps course is nearly ready. It should arrive next week. </p><p>Perfect time to <a href="https://linuxhandbook.com/#/portal/signup">become a Pro member</a> and enjoy unlimited access to our <a href="https://linuxhandbook.com/ebooks/">eBooks</a>, <a href="https://linuxhandbook.com/courses/">courses</a> and in-depth tutorials.</p><p><strong>Missed the previous editions?</strong>&nbsp;You can&nbsp;<a href="https://linuxhandbook.com/newsletter/">access the newsletter archives.</a></p><p>You may also <a href="https://linuxhandbook.com/write-for-us/">contribute to Linux Handbook</a> and share your experience and expertise with the community.</p><p>I like reading your messages, so just hit the reply button and share your thoughts 😄</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[12 Best Free Platforms to Learn DevOps with Hands-On]]></title>
                    <description><![CDATA[Practice makes a devops perfect.]]></description>
                    <link>https://linuxhandbook.com/blog/platforms-learn-devops-hands-on/</link>
                    <guid isPermaLink="false">6a277ea70fd5850001a07c08</guid>

                        <category><![CDATA[blog]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 21 Aug 2026 14:47:06 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/08/learn-devops.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/08/learn-devops.png" alt="12 Best Free Platforms to Learn DevOps with Hands-On"/> <p>Watching DevOps tutorials is easy. Actually knowing what to do when a server is broken at in production is not.</p><p>The gap between the two is hands-on practice and if you have been searching for structured, interactive DevOps labs, you have probably run into the same problem: most good platforms cost money, and the free ones are scattered across a dozen different sites with no clear path connecting them.</p><p>I went through the platforms the DevOps community actually recommends on Reddit, in Discord servers, in job prep threads and pulled together the 12 best ones where you can practice for free. These are not passive reading resources. Every platform here puts you in front of a terminal and makes you figure something out.</p><p><strong>This list is not for you if</strong> you are looking for video courses or reading material that is a different category. This guide is about interactive labs, broken-server challenges, browser-based environments, and hands-on projects where you learn by doing.</p><p><strong>Short on time?</strong> Jump to the comparison table below, or use the headers to find platforms that match your current skill level.</p><h2 id="at-a-glance-all-12-platforms-compared">At a Glance: All 12 Platforms Compared</h2><table>
<thead>
<tr>
<th>Platform</th>
<th>Style</th>
<th>Skill Level</th>
<th>Free?</th>
<th>Best For</th>
</tr>
</thead>
<tbody>
<tr>
<td>SadServers</td>
<td>Broken-server CTF</td>
<td>Beginner → Advanced</td>
<td>✅ Fully</td>
<td>Troubleshooting &amp; debugging</td>
</tr>
<tr>
<td>OverTheWire (Bandit)</td>
<td>SSH wargame</td>
<td>Beginner → Mid</td>
<td>✅ Fully</td>
<td>Linux terminal mastery</td>
</tr>
<tr>
<td>Learn Git Branching</td>
<td>Visual puzzle game</td>
<td>Beginner → Mid</td>
<td>✅ Fully</td>
<td>Git fundamentals</td>
</tr>
<tr>
<td>Killercoda</td>
<td>Browser labs</td>
<td>All levels</td>
<td>✅ Mostly</td>
<td>Daily DevOps practice</td>
</tr>
<tr>
<td>Play with Docker</td>
<td>Docker playground</td>
<td>Beginner</td>
<td>✅ Fully</td>
<td>Docker basics</td>
</tr>
<tr>
<td>Play with Kubernetes</td>
<td>K8s cluster</td>
<td>Beginner → Mid</td>
<td>✅ Fully</td>
<td>Kubernetes fundamentals</td>
</tr>
<tr>
<td>pwn.college</td>
<td>Shell challenges</td>
<td>Beginner → Mid</td>
<td>✅ Fully</td>
<td>Deep Linux internals</td>
</tr>
<tr>
<td>Grafana Play</td>
<td>Live Grafana instance</td>
<td>All levels</td>
<td>✅ Fully</td>
<td>Observability practice</td>
</tr>
<tr>
<td>Linux Upskill Challenge</td>
<td>20-day course</td>
<td>Beginner</td>
<td>✅ Fully</td>
<td>Structured Linux sysadmin</td>
</tr>
<tr>
<td>Kubernetes The Hard Way</td>
<td>Manual K8s bootstrap</td>
<td>Advanced</td>
<td>✅ Fully</td>
<td>K8s architecture understanding</td>
</tr>
<tr>
<td>iximiuz Labs</td>
<td>Investigative labs</td>
<td>Mid → Advanced</td>
<td>✅ Partial</td>
<td>Container &amp; K8s internals</td>
</tr>
<tr>
<td>Terraform Tutorials</td>
<td>Interactive IaC labs</td>
<td>Beginner → Mid</td>
<td>✅ Fully</td>
<td>Infrastructure as Code</td>
</tr>
</tbody>
</table>
<h2 id="sadserversthe-leetcode-of-devops-troubleshooting">SadServers - The LeetCode of DevOps Troubleshooting</h2><p>SadServers is the closest thing DevOps has to LeetCode. You are given a broken Linux or DevOps environment, a problem statement, and a timer. Your job is to fix it. No hints, no hand-holding, just a terminal and a server that is doing something wrong.</p><p><strong>Who it's best for: </strong>Anyone who wants to practice the skill that actually matters most in DevOps: diagnosing and fixing production problems under pressure. Especially useful if you are preparing for DevOps interviews, where live troubleshooting scenarios are increasingly common.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image.png" class="kg-image" alt="SadServers problem listing page" loading="lazy" width="1848" height="968" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image.png 1600w, https://linuxhandbook.com/content/images/2026/06/image.png 1848w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">SadServers problem listing page</span></figcaption></figure><p>The scenarios cover real DevOps situations: a web server that refuses to start, a disk that is mysteriously full, a process that keeps dying, a misconfigured database. Each one is an actual production-style failure.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- The most realistic DevOps troubleshooting practice available for free<br>- Browser-based, no local setup, no SSH key management<br>- Growing library of scenarios across difficulty levels<br>- Community-submitted problems mean diverse coverage</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br><b><strong style="white-space: pre-wrap;">-</strong></b> No structured learning path, you pick your own scenarios<br>- Some advanced scenarios assume prior knowledge to even understand the problem<br>- No built-in explanations after solving, you figure out the "why" yourself</div></div><p><strong>Verdict:</strong> The single best platform for practicing the skill that defines a working DevOps engineer, fixing things that are broken. Bookmark this and do one scenario a week.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://sadservers.com/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | SadServers</a></div><h2 id="overthewirebandit-learn-linux-by-breaking-in">OverTheWire - Bandit: Learn Linux by Breaking In</h2><p>OverTheWire Bandit is a wargame where you SSH into a live server and solve challenges to discover the password for the next level. Level 0 to Level 34, each one teaching a specific Linux skill through a concrete puzzle rather than a lecture.</p><p><strong>Who it's best for: </strong>Complete beginners who need real Linux terminal practice and people who are comfortable with commands but want to understand file permissions, process management, and shell scripting by actually using them under pressure.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-1.png" class="kg-image" alt="OverTheWire Bandit challenges" loading="lazy" width="1848" height="968" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-1.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-1.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-1.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-1.png 1848w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">OverTheWire Bandit challenges</span></figcaption></figure><p>The early levels cover navigation, file reading, and hidden files. By the time you reach the middle levels, you are working with SSH keys, port forwarding, shell scripting, and basic cryptography. Every concept sticks because you needed it to progress.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Zero setup, just SSH in from any terminal<br>- Progressive difficulty that builds real skills in sequence<br>- Community walkthroughs exist for every level if you get stuck<br>- Completely free, no account required</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Purely Linux/security focused, not a broad DevOps curriculum<br>- No browser-based terminal (you need an SSH client - WSL, Terminal, or PuTTY)</div></div><p><strong>Verdict:</strong> The best free tool to build Linux command-line confidence from scratch. There is a reason DevOps engineers still recommend it to juniors in 2026; it works.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://overthewire.org/wargames/bandit/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | OverTheWire Bandit</a></div><h2 id="learn-git-branchingmaster-git-visually">Learn Git Branching - Master Git Visually</h2><p>Learn Git Branching is a browser-based, interactive Git tutorial that teaches branching, rebasing, merging, and cherry-picking through visual puzzles. You type real Git commands and watch the commit graph update in real time.</p><p><strong>Who it's best for: </strong>Anyone who uses Git daily but secretly does not understand what <code>rebase</code>, <code>cherry-pick</code>, or <code>HEAD~2</code> actually does, which is most engineers at some point.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-2.png" class="kg-image" alt="LearnGitBranching Visual Challenges" loading="lazy" width="1857" height="965" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-2.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-2.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-2.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-2.png 1857w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">LearnGitBranching Visual Challenges</span></figcaption></figure><p>The platform covers two tracks: Main (local Git operations) and Remote (push, pull, fetch, tracking branches). Each level sets a goal state for the commit graph and you have to figure out which commands produce it.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Instant visual feedback makes abstract Git concepts concrete<br>- Covers advanced operations most tutorials skip (rebase -i, cherry-pick, reflog)<br>- Completely free, no account needed, works in any browser<br>- One of the most linked Git resources in the entire developer community</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Only covers Git, nothing else in the DevOps toolchain<br>- The visual metaphor breaks down slightly for very complex rebases<br>- No real repository, the environment is simulated</div></div><p><strong>Verdict: </strong> The fastest way to actually understand what your Git commands are doing. Run through both tracks once and Git will never feel mysterious again.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://learngitbranching.js.org/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | Learn Git Branching</a></div><h2 id="killercodathe-devops-lab-that-is-always-open">Killercoda - The DevOps Lab That Is Always Open</h2><p>Killercoda gives you a real Linux environment in your browser, no install, no account required for the free tier. Choose a scenario, and within seconds, you have a terminal connected to a real server. The scenario library covers Linux, Docker, Kubernetes, Ansible, ArgoCD, Terraform, and more.</p><p><strong>Who it's best for: </strong>Anyone who wants a quick, no-friction DevOps practice, especially useful for learning a new tool without setting up a local environment first, or for keeping skills sharp between projects.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-3.png" class="kg-image" alt="Killercoda playground and lessons" loading="lazy" width="1857" height="965" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-3.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-3.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-3.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-3.png 1857w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Killercoda playground and lessons</span></figcaption></figure><p>The free library includes hundreds of official and community-created scenarios. Many are contributed by tool vendors themselves, Grafana, Cilium and others publish their official getting-started tutorials directly on Killercoda.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Real terminals in a real Linux environment, not a simulation<br>- Hundreds of free scenarios across the full DevOps toolchain<br>- No install, no local setup, works from any browser<br>- New scenarios added regularly by community and vendors</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Free tier sessions time out, you cannot leave and come back to a running environment<br>- Some advanced scenarios are PLUS-only (paid)<br>- No structured learning path, you curate your own sequence</div></div><p><strong>Verdict:</strong> The best free option for hands-on practice with any specific DevOps tool right now. Anytime you encounter something new, ArgoCD, Cilium, Flux, check if there is a Killercoda scenario before setting up a local environment.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://killercoda.com/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | Killercoda</a></div><h2 id="play-with-dockera-real-docker-daemon-in-your-browser">Play with Docker - A Real Docker Daemon in Your Browser</h2><p>Play with Docker gives you a free, 4-hour Linux instance with a real Docker daemon running, directly in your browser. Run containers, build images, write Compose files, and experiment with Docker networking without touching your local machine.</p><p><strong>Who it's best for: </strong>Beginners who want to learn Docker without installing it locally, and people who need a quick sandbox to test a Docker command or Compose configuration without affecting their machine.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-4.png" class="kg-image" alt="Play with Docker Classrooms" loading="lazy" width="1852" height="970" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-4.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-4.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-4.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-4.png 1852w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Play with Docker Classrooms</span></figcaption></figure><p>You can create multiple instances and connect them, useful for practicing Docker Swarm or multi-container networking scenarios. The official Docker documentation uses Play with Docker for many of its interactive examples.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Officially maintained by Docker, Inc. always up to date<br>- Real Docker environment, not an emulator- Multiple instances for networking and Swarm practice<br>- No credit card, no account needed for basic use</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- 4-hour session limit work gets lost when sessions expire<br>- Can be slow during peak hours</div></div><p><strong>Verdict:</strong> The zero-friction way to start with Docker. No installation, no configuration, just a terminal and a Docker daemon. Use this before committing to a local Docker Desktop setup.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://labs.play-with-docker.com/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | Play with Docker</a></div><h2 id="play-with-kubernetesa-multi-node-cluster-in-minutes">Play with Kubernetes - A Multi-Node Cluster in Minutes</h2><p>Play with Kubernetes provides a free, browser-based Kubernetes playground where you can bootstrap a real multi-node cluster and run workloads, without any local Kubernetes installation or cloud account.</p><p><strong>Who it's best for: </strong>People learning Kubernetes fundamentals who want to practice <code>kubectl</code>commands, deploy real workloads, and understand cluster architecture without the complexity of setting up minikube or a cloud cluster.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-5.png" class="kg-image" alt="Play with Kubernetes Classrooms" loading="lazy" width="1852" height="970" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-5.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-5.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-5.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-5.png 1852w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Play with Kubernetes Classrooms</span></figcaption></figure><p>Sessions give you a 4-hour window with enough compute to bootstrap a control plane and add worker nodes. Every standard kubectl operation works: deployments, services, configmaps, namespaces and RBAC.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Real multi-node cluster, not a single-node simulation<br>- Bootstrapping the cluster yourself teaches how it actually works<br>- Free with a Docker Hub account<br>- Ideal for CKA/CKAD exam concept practice</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- 4-hour session limit, not suitable for long-running experiments<br>- Bootstrapping the cluster from scratch every session takes 5-10 minutes<br>- No persistent volumes that survive session restarts</div></div><p><strong>Verdict:</strong> The most accessible way to get a real Kubernetes cluster for practice without a cloud bill. Pair it with Kubernetes The Hard Way for a deeper understanding of what that bootstrap process is actually doing.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://labs.play-with-k8s.com/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | Play with Kubernetes</a></div><h2 id="pwncollegedeep-linux-internals-through-structured-challenges">pwn.college - Deep Linux Internals Through Structured Challenges</h2><p>pwn.college is a university-backed (Arizona State University) platform that teaches Linux internals through a structured series of challenges. Unlike typical beginner Linux tutorials, it covers how the shell works, process interactions, file descriptors, environment variables, and privilege escalation, concepts that are foundational to DevOps but rarely taught explicitly.</p><p><strong>Who it's best for: </strong>Engineers who use Linux daily but want to deeply understand what is actually happening beneath the commands, process spawning, shell internals and permissions at the kernel level. Especially valuable if you work with Docker, because containers are Linux primitives underneath.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-6.png" class="kg-image" alt="pwn.college structured paths" loading="lazy" width="1851" height="910" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-6.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-6.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-6.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-6.png 1851w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">pwn.college structured paths</span></figcaption></figure><p>The platform is organized into modules (Linux Luminarium is the entry point for DevOps practitioners) and every challenge is a real binary running on a real Linux system that you interact with directly.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- University-quality curriculum, completely free<br>- Teaches the Linux concepts that Docker and container knowledge depend on<br>- Structured modules with clear progression<br>- Discord community with active support from instructors</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Leans toward security/CTF in its later modules (beyond DevOps needs)<br>- Browser-based terminal can be slower than a native SSH session</div></div><p><strong>Verdict:</strong> The best free resource for understanding <strong><em>why</em></strong> Linux behaves the way it does, not just memorizing commands. If you use containers daily and want to understand what namespaces and cgroups actually are, start here.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://pwn.college/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | pwn.college</a></div><h2 id="grafana-playlive-observability-practice-with-zero-setup">Grafana Play - Live Observability Practice With Zero Setup</h2><p>Grafana Play is a fully functional, live Grafana instance that anyone can open in a browser right now, pre-loaded with dashboards, Loki log data, Prometheus metrics, alerting rules, and Tempo traces. No installation, no Docker Compose stack, no Prometheus setup.</p><p><strong>Who it's best for: </strong>Engineers who want to get comfortable with Grafana dashboards, PromQL queries, Loki log queries, and alert configuration before setting up a full observability stack locally or in production.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-7.png" class="kg-image" alt="Grafana Play interface" loading="lazy" width="1787" height="967" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-7.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-7.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-7.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-7.png 1787w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Grafana Play interface</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- No setup whatsoever, open a URL, start exploring<br>- Pre-loaded with real dashboards covering Linux, Kubernetes, and application metrics<br>- Covers the full Grafana stack: Metrics, Logs (Loki), Traces (Tempo), Alerting</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- No local date source testing<br>- Covers Linux fundamentals, not higher-level DevOps tooling</div></div><p><strong>Verdict:</strong> If your Linux skills feel shaky and you want to fix that with a structured, real-world approach, the Linux Upskill Challenge is the most complete free answer. Twenty focused days produce a genuine foundation.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://grafana.com/grafana/dashboards/14125-grafana-play-home/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | Grafana Play</a></div><h2 id="linux-upskill-challenge20-days-to-real-linux-sysadmin-skills">Linux Upskill Challenge - 20 Days to Real Linux Sysadmin Skills</h2><p>The Linux Upskill Challenge is a free, community-run 20-day course where you rent a cheap VPS (or use a free cloud trial) and learn to manage it as a real system administrator would. Each day introduces new concepts with clear instructions, exercises, and a community forum for questions.</p><p><strong>Who it's best for: </strong>Beginners who want a structured, day-by-day Linux learning path that produces a real skill foundation, not just knowledge of commands, but actual comfort managing a remote server. The VPS-based approach means everything you do is real.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-11.png" class="kg-image" alt="Linux Upskill Challenge 20 Days" loading="lazy" width="1847" height="966" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-11.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-11.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-11.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-11.png 1847w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Linux Upskill Challenge 20 Days</span></figcaption></figure><p>The course covers everything a working sysadmin needs: SSH key management, file permissions, package management, process management, system services with systemd, firewalls, cron jobs, log analysis, and basic security hardening.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- A complete, structured 20-day curriculum, always know what to do next<br>- Working on a real VPS means skills transfer directly to real systems<br>- Community forum for everyday exercises, never stuck alone<br>- Free forever; the GitHub repository is open source</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Requires a VPS, most cloud-free tiers work, but it is not purely zero-cost<br>- 20 days of consistent daily work require commitment<br>- Covers Linux fundamentals, not higher-level DevOps tooling</div></div><p><strong>Verdict:</strong> If your Linux skills feel shaky and you want to fix that with a structured, real-world approach, the Linux Upskill Challenge is the most complete free answer. Twenty focused days produces a genuine foundation.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://linuxupskillchallenge.org/?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | Linux Upskill Challenge</a></div><h2 id="kubernetes-the-hard-waybuild-a-cluster-from-scratch">Kubernetes The Hard Way - Build a Cluster From Scratch</h2><p>Kubernetes The Hard Way, created by Kelsey Hightower (Google), guides you through bootstrapping a Kubernetes cluster manually, without kubeadm, without any helper scripts, every component configured by hand. It is not the easiest way to get a cluster, which is exactly the point.</p><p><strong>Who it's best for: </strong>Engineers who already use Kubernetes daily but feel like they are operating it without truly understanding it. Going through this once answers questions that years of <code>kubectl apply</code> never will.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-8.png" class="kg-image" alt="Kubernetes The Hard Way Git Repo" loading="lazy" width="1787" height="967" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-8.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-8.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-8.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-8.png 1787w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Kubernetes The Hard Way Git Repo</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- The definitive resource for understanding Kubernetes internals<br>- Goes through the components no other tutorial explains (etcd, API server internals)<br>- Completely free on GitHub; cloud provider-specific forks exist (GCP, AWS, bare metal)<br>- Highly respected in the DevOps community, a milestone for K8s practitioners</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Takes significant time (4-8 hours minimum for a careful first pass)<br>- Requires cloud instances or VMs, not purely browser-based<br>- Not a daily practice tool - it is a one-time deep understanding exercise</div></div><p><strong>Verdict:</strong> Not something you do every day, but something every serious Kubernetes practitioner should do at least once. The understanding it provides changes how you operate clusters permanently.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/kelseyhightower/kubernetes-the-hard-way?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | Kubernetes The Hard Way</a></div><h2 id="iximiuz-labsinvestigate-how-containers-and-k8s-actually-work">iximiuz Labs - Investigate How Containers and K8s Actually Work</h2><p>iximiuz Labs takes a deliberately different approach to DevOps learning: instead of guided tutorials, it puts you in an environment and asks you to investigate how something works. Labs cover container networking, Linux namespaces, Kubernetes control plane behavior, and distributed systems concepts through exploration rather than instruction.</p><p><strong>Who it's best for: </strong>Intermediate to advanced practitioners who want to understand <strong><em>why</em></strong> containers and Kubernetes behave the way they do, the Linux primitives underneath Docker, why pod networking works the way it does and what the scheduler actually considers.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-9.png" class="kg-image" alt="ixium Labs official collection of playgrounds" loading="lazy" width="1690" height="962" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-9.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-9.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-9.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-9.png 1690w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">ixium Labs official collection of playgrounds</span></figcaption></figure><p>The free tier includes a solid selection of foundational labs on container runtimes, networking, and Kubernetes basics. The platform is built by Ivan Velichko, widely respected in the cloud-native community for the depth of his writing on container internals.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Teaches the "why" that most DevOps platforms skip<br>- Browser-based multi-terminal environment with relevant tools pre-installed<br>- Covers container/K8s concepts that no other free platform addresses<br>- Built by a practitioner known for technical accuracy</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Some advanced labs require a paid subscription<br>- Not beginner-friendly, assumes comfort with containers and Linux already<br>- Investigative format requires more patience than step-by-step tutorials</div></div><p><strong>Verdict:</strong> The best platform for going from "I can use Kubernetes" to "I understand Kubernetes." If you have been using containers for a year and still feel uncertain about the internals, this fills that gap.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://labs.iximiuz.com/playgrounds?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | iximiuz Labs</a></div><h2 id="terraform-tutorialsofficial-interactive-iac-practice">Terraform Tutorials - Official Interactive IaC Practice</h2><p>HashiCorp's official Terraform tutorials on the Developer portal are interactive, browser-based labs that teach Infrastructure as Code without requiring a cloud account for most foundational content. They cover AWS, Azure, GCP, and local Terraform workflows with a consistent, practical structure.</p><p><strong>Who it's best for: </strong>Engineers who know containers and Kubernetes but have not yet learned Infrastructure as Code and anyone preparing for the Terraform Associate certification who wants practice alongside the theory.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-10.png" class="kg-image" alt="Terraform Tutorials Homepage" loading="lazy" width="1690" height="962" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-10.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-10.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/06/image-10.png 1600w, https://linuxhandbook.com/content/images/2026/06/image-10.png 1690w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Terraform Tutorials Homepage</span></figcaption></figure><p>The tutorials build progressively: start with a local Docker provider (no cloud account needed), move to cloud providers once you understand the workflow. Each tutorial includes working code, an explanation of what each block does, and a real-world step.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Official documentation and tutorials from HashiCorp, always accurate and up to date<br>- Many tutorials run entirely locally with no cloud account needed<br>- Covers the full Terraform workflow: init, plan, apply, state, modules, workspaces</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Cloud provider tutorials require an AWS/Azure/GCP account (though free tier works)<br>- No challenge/puzzle format, more guided tutorial than active problem-solving</div></div><p><strong>Verdict:</strong> The most reliable starting point for Terraform. If IaC is the gap in your DevOps skillset and for many practitioners it is, start here before looking anywhere else.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://developer.hashicorp.com/terraform/tutorials?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">Visit | Terraform Tutorials</a></div><h2 id="how-to-use-these-platforms-together">How to Use These Platforms Together</h2><p>These platforms are not competing alternatives; they cover different skills and different learning modes. A practical sequence:</p><ul>
<li><strong>Start with Linux fundamentals</strong> : Linux Upskill Challenge (structured) + OverTheWire Bandit (challenges)</li>
<li><strong>Add Git mastery early</strong> : Learn Git Branching (spend one afternoon, do both tracks)</li>
<li><strong>Learn containers hands-on</strong> : Play with Docker, then Killercoda Docker scenarios</li>
<li><strong>Move to Kubernetes</strong> : Play with Kubernetes for basics → Killercoda K8s scenarios → Kubernetes The Hard Way for deep understanding → iximiuz Labs for internals</li>
<li><strong>Add IaC</strong> : Terraform Tutorials (start with local Docker provider, no cloud account needed)</li>
<li><strong>Add observability</strong> : Grafana Play (explore before setting up your own stack)</li>
<li><strong>Keep troubleshooting sharp</strong> : SadServers (one scenario per week) + pwn.college Linux modules</li>
</ul>
<p>None of these require paid subscriptions to start; all have free tiers that cover the core learning value.</p><h2 id="faq">FAQ</h2><p><strong>Do I need a powerful computer to use these platforms?</strong><br>
No. Every platform on this list is either browser-based or requires only a basic setup. Your local machine is just a browser or SSH client.</p>
<p><strong>Which platform should a complete beginner start with?</strong><br>
Start with Linux Upskill Challenge for structured foundations, then add OverTheWire Bandit for command-line confidence, then Learn Git Branching for Git. After those three, Killercoda opens up most of the rest of the DevOps toolchain at a reasonable pace.</p>
<p><strong>Are these platforms useful for certification preparation (CKA, CKAD, Terraform Associate)?</strong><br>
Yes. Play with Kubernetes and Killercoda are both consistently recommended for CKA/CKAD practice. Terraform Tutorials covers the Terraform Associate curriculum directly. SadServers builds the troubleshooting speed that the CKA exam requires.</p>
<p><strong>Is Kubernetes The Hard Way still relevant with modern tools like k3s and minikube?</strong><br>
Yes, and for the same reason, reading a car manual is still useful even if you use a GPS. K3s and minikube are better for daily use. The Hard Way is for understanding what they are abstracting. Do it once, then use the convenient tools with actual understanding.</p>
<h2 id="conclusion"><strong>Conclusion</strong></h2><p>The best DevOps skill is not knowing which tool to use; it is knowing what to do when something breaks. Every platform on this list gets you closer to that, whether you are starting from zero with the Linux Upskill Challenge, building Git intuition with Learn Git Branching, diagnosing broken servers on SadServers, or finally understanding what Kubernetes is actually doing under the hood with Kubernetes The Hard Way and iximiuz Labs.<br><br>You do not need to work through all twelve at once; pick the one that matches your current gap, spend a few hours a week, and let the practice compound. The engineers who stand out in DevOps are the ones who have broken things, fixed things, and done it enough times that the instinct becomes automatic. These platforms give you the reps. <strong>If you know of such a platform, do drop it in the comments!</strong></p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Why GitOps is in Trend]]></title>
                    <description><![CDATA[]]></description>
                    <link>https://linuxhandbook.com/courses/gitops/why-gitops-in-trend/</link>
                    <guid isPermaLink="false">6a880361c246770001490b4d</guid>

                        <category><![CDATA[GitOps]]></category>

                        <dc:creator><![CDATA[Sachin H R]]></dc:creator>

                    <pubDate>Fri, 21 Aug 2026 13:23:14 +0530</pubDate>


                    <content:encoded><![CDATA[

<aside data-sx-content-cta class="relative p-0.5 js-toc-ignore">

    <div class="relative flex flex-col items-center text-center w-full px-4 py-10 lg:px-10 text-base rounded-xl sm:rounded-2xl">
        <div class="dark:hidden absolute -inset-px -z-10 rounded-xl bg-white shadow-pretty-sm transition-shadow duration-200"></div>
        <span class="hidden dark:block absolute -z-10 -inset-px rounded-inherit bg-radial-[50%_100%_at_50%_0%] from-white/10"></span>        
        <div class="hidden dark:block absolute -inset-px -z-10 rounded-xl bg-white/1 transition-colors duration-500 inset-shadow-md inset-shadow-white/2"></div>
        
        <div class="hidden dark:block absolute -z-10 -inset-0.5 mask-to-b mask-position-to-70% mask-opacity-to-50%">
            <div class="hidden dark:block absolute -z-10 inset-px rounded-xl border border-gray-50/10"></div>
        </div>                                                
        <div class="hidden dark:block absolute -z-10 -inset-px rounded-xl border border-gray-50/5 opacity-0"></div>

        <div class="hidden dark:block absolute -top-px start-1/2 -translate-x-1/2 w-1/2 h-px bg-linear-to-r from-white/0 to-white/0 via-gray-400/50"></div>

        <h2 class="text-gray-900 dark:text-gray-100 text-pretty text-xl sm:text-2xl leading-snug tracking-tight">




                                                <span class="hidden first:inline">
                                This lesson is for paying subscribers only
                            </span>                           
                    <span class="hidden first:inline">
                        This post is for paying subscribers only
                    </span>  

        </h2>

            <button data-portal="signup" class="mt-7 px-4 py-2.5 font-semibold text-sm text-center text-accent-contrast bg-primary rounded-full shadow-primary dark:shadow-none dark:drop-shadow-primary-sm hover:opacity-90 transition-opacity duration-200">
                Subscribe now
            </button>
            <p class="mt-5 text-sm">
                Already have an account? <button data-portal="signin" class="block sm:inline mx-auto font-medium underline decoration-primary decoration-2 underline-offset-2 hover:text-primary transition-colors duration-200">Sign in</button>
            </p>
    </div>
</aside>
]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[LHB Linux Digest #26.09: Docker Compose Override, Claude Skills for DevOps, Solidtime and More]]></title>
                    <description><![CDATA[Override the compose]]></description>
                    <link>https://linuxhandbook.com/newsletter/26-09-2/</link>
                    <guid isPermaLink="false">6a633a36b5d4b60001763d8d</guid>

                        <category><![CDATA[Newsletter]]></category>

                        <dc:creator><![CDATA[Abhishek Prakash]]></dc:creator>

                    <pubDate>Fri, 24 Jul 2026 17:05:24 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/05/lhb-newsletter.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/05/lhb-newsletter.png" alt="LHB Linux Digest #26.09: Docker Compose Override, Claude Skills for DevOps, Solidtime and More"/> <p>Don't we learn something new everyday? Something that might be obvious to others but feels like discovery to you?</p><p>I had that feeling when I learned about the concept of compose override in Docker. In my self-hosted Ghost CMS deployment, I made <a href="https://linuxhandbook.com/docker-log-space-issue/">modifications in the compose file to introduce log rotation</a>. But now the compose file was modified and any upstream change would complain about modified file. Git stash comes to rescue, but it's an additional pain.</p><p>And that pain went away with the override compose file. It's an excellent way of separating local and upstream changes, local and production compose files. I <a href="https://linuxhandbook.com/blog/docker-compose-override-trick-ghost/">wrote about it here</a>.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://linuxhandbook.com/blog/docker-compose-override-trick-ghost/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Git Pull Kept Failing on My Ghost Server. Docker Compose Override Fixed It</div><div class="kg-bookmark-description">Modifying your docker-compose.yml directly and now git pull throws a “local changes would be overwritten” error? Use a compose.override.yml file to keep your changes separate from the file Ghost’s repo manages.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/Linux-Handbook-New-Logo-be40298b-d73d-4e08-8138-2b39b5215b22.png" alt=""><span class="kg-bookmark-author">Linux Handbook</span><span class="kg-bookmark-publisher">Abhishek Prakash</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/docker-compose-override-file-a29dae2d-bfc4-4c42-a82f-74b707592e19.png" alt="" onerror="this.style.display = 'none'"></div></a></figure><p>Claude (or other mainstream AI tools) can be an excellent help in troubleshooting your infrastructure issues. But if you just ask it "find me for this error message", you'll get generic answers. Yash who has recently started working as a <a href="https://linuxhandbook.com/blog/devops-engineer-claude-skills/">DevOps engineer shares some of the Claude skills he uses</a>. You can take inspiration and modify these skills as needed or use them as it is.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://linuxhandbook.com/blog/devops-engineer-claude-skills/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">8 Claude Skills I Use Everyday as a DevOps Engineer</div><div class="kg-bookmark-description">Sharing the skills I use for troubleshooting and other purposes as a devops engineer. They are primarily for Claude but should work with other AI tools, too.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/Linux-Handbook-New-Logo-653d08b4-f910-4356-8611-3fcef24f4b64.png" alt=""><span class="kg-bookmark-author">Linux Handbook</span><span class="kg-bookmark-publisher">Yash Kiran Patil</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/claude-skills-devops-e03461f9-a65c-4b3b-a98a-df0f4408193c.webp" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="%F0%9F%92%A1quick-terminal-tip"><strong>💡Quick terminal tip</strong></h2><p>In bash (and other readline-based shells), press <code>Alt+Shift+3</code> (or <code>Alt+#</code>) while typing a command. It prefixes the line with <code>#</code>, submits it, and since <code>#</code> starts a comment, the command won't execute.</p><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/07/command-to-comment-1.gif" class="kg-image" alt="" loading="lazy" width="780" height="605" srcset="https://linuxhandbook.com/content/images/size/w600/2026/07/command-to-comment-1.gif 600w, https://linuxhandbook.com/content/images/2026/07/command-to-comment-1.gif 780w" sizes="(min-width: 720px) 720px"></figure><p>It stays in your shell history for later. Handy for jotting down a command you're not ready to run yet.</p><p>Now that you know this one, <a href="https://itsfoss.com/linux-terminal-shortcuts/?ref=linuxhandbook.com" rel="noopener nofollow">here are a few more shortcuts</a> worth adding to your muscle memory.</p><h2 id="%F0%9F%9B%A0%EF%B8%8F-tool-discovery">🛠️ Tool discovery</h2><p>Let's find your next favorite software in this section.</p><h3 id="buzz-self-hostable-workspace-for-humans-and-ai-agents">Buzz: Self-Hostable Workspace for Humans and AI Agents</h3><p><a href="https://github.com/block/buzz?ref=linuxhandbook.com" rel="noopener nofollow">Buzz</a> is an open-source collaboration platform from Block that brings team chat, Git repositories, and AI agents into a single workspace. Built on the Nostr protocol, it lets organizations self-host their collaboration platform while allowing AI agents to participate as authenticated team members with their own identities and permissions.</p><ul><li>💬 Integrated Team Collaboration – Channels, threads, DMs, media sharing, and search in one workspace (voice huddles in progress).</li><li>🤖 AI Agents as Teammates – Agents hold cryptographic identities and can review code, submit patches, and collaborate alongside humans.</li><li>🌐 Self-Hostable &amp; Open Source – Apache 2.0 licensed; deploy on your own infrastructure with full data control.</li><li>🛠️ Built-in Git Collaboration – Host repos, submit patches, and manage code review without external Git hosting.</li><li>🔐 Nostr-Based Architecture – Every event is signed via Nostr, giving verifiable identity and a full audit trail.</li></ul><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/block/buzz?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - block/buzz: A hive mind communication platform</div><div class="kg-bookmark-description">A hive mind communication platform. Contribute to block/buzz development by creating an account on GitHub.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/favicon-f86fc362-a27a-42f0-8ff0-a6a9f7d8e329.svg" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">block</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://opengraph.githubassets.com/51dc14c1d9091832156118c3168485f81b7efb63db9843a348e1fd467d23abe4/block/buzz" alt="" onerror="this.style.display = 'none'"></div></a></figure><h3 id="solidtime-modern-open-source-time-tracking-for-teams">Solidtime: Modern Open-Source Time Tracking for Teams</h3><p><a href="https://github.com/solidtime-io/solidtime?ref=linuxhandbook.com" rel="noopener nofollow">Solidtime</a> is an open-source time tracking platform built for freelancers, agencies, and teams that need an easy way to track work, manage projects, and generate invoices. It offers a polished web and desktop experience, supports self-hosting, and keeps activity tracking privacy-friendly by processing desktop activity locally before converting it into time entries.</p><ul><li>⏱️ Time Tracking – Simple, modern interface to track work time.</li><li>📁 Projects &amp; Tasks – Create projects and tasks, and assign them to team members.</li><li>👥 Clients – Manage clients and link them to projects.</li><li>💰 Billable Rates – Set rates per project, member, or organization.</li><li>🏢 Multiple Organizations – Manage several organizations from one account.</li><li>🔑 Roles &amp; Permissions – Control access within organizations.</li><li>📥 Data Import – Import from Toggl, Clockify, or CSV.</li></ul><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/solidtime-io/solidtime?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - solidtime-io/solidtime: Modern open-source time-tracking app</div><div class="kg-bookmark-description">Modern open-source time-tracking app. Contribute to solidtime-io/solidtime development by creating an account on GitHub.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/favicon-0b30dc03-a11a-4da8-9323-ac5ea991f0db.svg" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">solidtime-io</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/4d582af8-81df-4bf4-adbd-e22ad295bce0-d68d5be7-a706-438d-91ed-2a6fd1af43c3" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="%F0%9F%93%B0-linux-news-that-matters">📰 Linux news that matters</h2><ul><li><a href="https://www.theregister.com/security/2026/07/22/linux-kernel-team-publishes-432-cves-in-two-days/5276497?ref=linuxhandbook.com" rel="noopener nofollow"><strong>The Linux kernel CVE team published 432 CVEs over just two days</strong></a>, prompting concerns from security engineers about the practicality of reviewing and prioritizing individual kernel vulnerabilities. The surge reflects the kernel project's policy of assigning CVEs to virtually every qualifying security-related bug fix in stable releases, with AI-assisted bug discovery also contributing to the growing number of reports reaching maintainers.</li><li><a href="https://www.networkworld.com/article/4200847/networkmanager-update-advances-ipv6-only-support-wi-fi-management-and-security-for-linux-based-operating-systems.html?ref=linuxhandbook.com" rel="noopener nofollow"><strong>NetworkManager 1.58 adds support for IPv6-only deployments</strong></a> through RFC 8925 IPv6-only-preferred signaling and 464XLAT (CLAT), enabling legacy IPv4 applications to continue working on IPv6-only networks. The release also introduces GENEVE tunnel management for virtualized environments, 6 GHz Wi-Fi enhancements, persistent managed state across reboots for automation, and fixes multiple DHCP-related security issues, including CVE-2026-10805.</li><li><a href="https://www.securityweek.com/cisco-launches-low-cost-ai-models-for-source-code-security/?ref=linuxhandbook.com" rel="noopener nofollow"><strong>Cisco has released Antares-350M and Antares-1B</strong></a>, two open-weight small language models purpose-built to locate known vulnerabilities within large source code repositories. Unlike general-purpose coding models, Antares focuses on repository-level vulnerability localization. Can run locally without uploading proprietary code to the cloud, and Cisco claims it achieves comparable accuracy at up to 172× lower cost than leading frontier AI models while also releasing a benchmark to measure this task.</li><li><a href="https://www.theregister.com/devops/2026/07/23/model-context-protocol-prepares-to-break-with-its-stateful-past/5276722?ref=linuxhandbook.com" rel="noopener nofollow"><strong>The Model Context Protocol (MCP) is preparing its 2026-07-28 specification</strong></a>, replacing its stateful architecture with a stateless protocol core by removing session IDs and the initialization handshake while introducing a new extensions framework and stronger authorization mechanisms. The redesign allows MCP servers to run behind standard HTTP load balancers without sticky sessions or shared session stores, making large-scale deployments significantly easier, although existing implementations will require migration because of breaking protocol changes.</li><li><a href="https://devops.com/githubs-redesigned-pr-inbox-tackles-the-review-bottleneck-ai-created/?ref=linuxhandbook.com" rel="noopener nofollow"><strong>GitHub has made its redesigned Pull Requests Dashboard generally available</strong></a>, introducing an Inbox that surfaces review requests, CI failures, merge-ready pull requests, saved views, advanced search, and support for identifying AI agent-created pull requests. The update reflects a broader industry shift where AI coding assistants generate code faster than humans can review it, prompting GitHub to focus on review triage rather than code generation alone.</li></ul><h2 id="%F0%9F%98%82-geek-humor">😂 Geek humor</h2><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/07/LHB-meme-july-24.jpeg" class="kg-image" alt="" loading="lazy" width="1080" height="1080" srcset="https://linuxhandbook.com/content/images/size/w600/2026/07/LHB-meme-july-24.jpeg 600w, https://linuxhandbook.com/content/images/size/w1000/2026/07/LHB-meme-july-24.jpeg 1000w, https://linuxhandbook.com/content/images/2026/07/LHB-meme-july-24.jpeg 1080w" sizes="(min-width: 720px) 720px"></figure><h2 id="%F0%9F%92%8C-keep-on-loving-linux-handbook">💌 Keep on loving Linux Handbook</h2><p>GitOps course is nearly ready. It should arrive next week. </p><p>Perfect time to <a href="https://linuxhandbook.com/#/portal/signup">become a Pro member</a> and enjoy unlimited access to our <a href="https://linuxhandbook.com/ebooks/">eBooks</a>, <a href="https://linuxhandbook.com/courses/">courses</a> and in-depth tutorials.</p><p><strong>Missed the previous editions?</strong>&nbsp;You can&nbsp;<a href="https://linuxhandbook.com/newsletter/">access the newsletter archives.</a></p><p>You may also <a href="https://linuxhandbook.com/write-for-us/">contribute to Linux Handbook</a> and share your experience and expertise with the community.</p><p>I like reading your messages, so just hit the reply button and share your thoughts 😄</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[8 Claude Skills I Use Everyday as a DevOps Engineer]]></title>
                    <description><![CDATA[Sharing the skills I use for troubleshooting and other purposes as a devops engineer. They are primarily for Claude but should work with other AI tools, too.]]></description>
                    <link>https://linuxhandbook.com/blog/devops-engineer-claude-skills/</link>
                    <guid isPermaLink="false">6a410a04668db800010d5b83</guid>

                        <category><![CDATA[blog]]></category>
                        <category><![CDATA[AI 🤖🧠]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 24 Jul 2026 16:47:27 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/07/claude-skills-devops.webp" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/07/claude-skills-devops.webp" alt="8 Claude Skills I Use Everyday as a DevOps Engineer"/> <p>I was skeptical about AI tools in a DevOps workflow for a long time. Every demo I saw showed someone asking AI Agent to write a Hello World Dockerfile. That's not a DevOps use case, that's a simple chat.</p><p>What changed my mind was using Claude for things that actually slow me down at work. Not boilerplate code generation, but the genuinely tedious parts of the job: interpreting a cryptic error from a stack trace buried inside a Kubernetes pod, converting a Bash script someone wrote in 2017 into something readable, or asking "what does this flag do again" without having to leave the terminal context I'm already in.</p><p>But here's the thing: generic Claude and <a href="https://code.claude.com/docs/en/skills?ref=linuxhandbook.com" rel="noreferrer"><strong><em>skilled</em> <em>Claude</em></strong></a> are two very different tools.</p><p>Out of the box, Claude gives you general-purpose answers. When you add a SKILL.md, a structured instruction file that tells Claude exactly how to approach a specific task, you get a focused, deterministic workflow instead of a guess. The difference matters in DevOps, where a half-correct answer about a Kubernetes misconfiguration or a Terraform plan can cause real problems.</p><p>This article covers both sides: the skills themselves, and the concrete difference between using Claude with and without them. I'm running this on VS Code with Claude Sonnet 4.6.</p><h2 id="what-are-claude-skills">What Are Claude Skills?</h2><p>Claude Code supports a feature called <a href="https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview?ref=linuxhandbook.com" rel="noreferrer"><strong>skills</strong></a>: markdown files named <code>SKILL.md</code> that live inside a <code>.claude/skills/</code> directory in your project. When you ask Claude something that matches a skill's trigger phrases, it automatically uses the structured workflow defined in that file instead of its default behavior.</p><p>Think of it like the difference between asking a new colleague a question and asking someone who's already written the runbook for it. Same knowledge, completely different depth and reliability.</p><p>I've written 8 of my own, one for each workflow I find myself using regularly.</p><h2 id="why-skills-actually-matter">Why Skills Actually Matter</h2><p>Let me show the difference concretely before going through each skill.</p><p>I'll use the <strong>error-decoder</strong> skill as the example, with a Docker container that keeps exiting. This is something you can reproduce on any machine with Docker installed.</p><p><strong>The prompt</strong>: "My Docker container keeps exiting immediately. Here's the output." (with <code>docker logs</code> and <code>docker inspect</code> output pasted in)</p><p>Here's what I actually pasted in:</p><pre><code class="language-bash">$ docker run --name my-app myrepo/my-app:2.1.0
Error: DATABASE_URL environment variable is not set.
Exiting.

$ docker inspect my-app --format='{{.State.ExitCode}} {{.State.OOMKilled}}'
1 false

$ docker ps -a | grep my-app
my-app   myrepo/my-app:2.1.0   Exited (1) 3 seconds ago</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-21.png" class="kg-image" alt="Before applying the skill.md for error-decoding" loading="lazy" width="876" height="524" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-21.png 600w, https://linuxhandbook.com/content/images/2026/06/image-21.png 876w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Before applying the skill.md for error-decoding</span></figcaption></figure><p>The response is accurate but completely generic. It lists common causes without engaging with the actual output that was pasted. The real answer is sitting right there in the logs (<code>DATABASE_URL environment variable is not set</code>) but Claude, without the skill, doesn't structure its analysis to find it.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-22.png" class="kg-image" alt="After applying the skill.md for error-decoding" loading="lazy" width="812" height="588" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-22.png 600w, https://linuxhandbook.com/content/images/2026/06/image-22.png 812w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">After applying the skill.md for error-decoding</span></figcaption></figure><p>The response now follows the skill's output format. It pulls the specific root cause directly from the logs, gives the exact fix command, tells you what a successful run looks like, and gives the next diagnostic step if it still fails.</p><p>The skill didn't add knowledge Claude didn't have. It added <em><strong>structure and focus</strong>,</em> it forces Claude to identify the root cause separately from the proximate cause, and to give a verification step instead of stopping at "here's the fix."</p><h2 id="the-8-claude-skills-in-my-toolbox">The 8 Claude Skills in My Toolbox</h2><p>Below are the 8 skills you will have in your project, which will give you a focused and structured workflow for your projects. I will also show you the results I get after the prompt I give to the agent with the skills enforced. You are free to download them and modify them as per your requirements.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">💡</div><div class="kg-callout-text">You can use the skills that fits your workflow. Use them as base and modify them as needed.</div></div><p>The skills folder structure will look like this:</p><p>.claude/<br>
└── skills/<br>
├── error-decoder/<br>
│   └── SKILL.md       ← Diagnose Kubernetes, Terraform, Helm errors<br>
├── bash-auditor/<br>
│   └── SKILL.md       ← Write and audit Bash scripts<br>
├── k8s-manifest-reviewer/<br>
│   └── SKILL.md       ← Explain and audit Kubernetes YAML<br>
├── format-converter/<br>
│   └── SKILL.md       ← Convert between DevOps formats and tools<br>
├── runbook-drafter/<br>
│   └── SKILL.md       ← Draft runbooks, postmortems, SOPs<br>
├── terraform-explainer/<br>
│   └── SKILL.md       ← Explain and audit Terraform code and plans<br>
├── api-tester/<br>
│   └── SKILL.md       ← Generate cURL and API test commands<br>
└── cicd-auditor/<br>
└── SKILL.md       ← Audit GitHub Actions, GitLab CI, Jenkins</p>
<h3 id="error-decoderdiagnosing-cryptic-errors">error-decoder - Diagnosing Cryptic Errors</h3><p>This is the one I use most often. DevOps tools are notoriously bad at error messages. Docker exits a container with code 137 and you're left guessing whether it's <a href="https://linuxhandbook.com/oom-killer/" rel="noreferrer">OOM</a> or a signal. Terraform throws a provider error with a reference ID you have to track down. Helm fails on a templating issue with a line number that doesn't match your file. Kubernetes gives you a pod in <code>CrashLoopBackOff</code> with no explanation of why. In all of these cases, the raw error is pointing <strong>at</strong> a symptom, not <strong><em>at</em></strong> the cause.</p><p>My workflow: paste the full error, not a summary, the full thing and add two sentences of context:</p><pre><code class="language-bash">Here is the error from my Kubernetes pod. This pod was working yesterday.
The only change was updating the image tag from 1.3.2 to 1.4.0.

[full kubectl describe pod output]</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-23.png" class="kg-image" alt="Output of Claude with error-decoder skill.md" loading="lazy" width="939" height="831" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-23.png 600w, https://linuxhandbook.com/content/images/2026/06/image-23.png 939w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Output of Claude with error-decoder skill.md</span></figcaption></figure><div class="kg-card kg-file-card"><a class="kg-file-card-container" href="https://linuxhandbook.com/content/files/2026/06/SKILL.md" title="Download" download=""><div class="kg-file-card-contents"><div class="kg-file-card-title">error-decoder</div><div class="kg-file-card-caption"></div><div class="kg-file-card-metadata"><div class="kg-file-card-filename">SKILL.md</div><div class="kg-file-card-filesize">5 KB</div></div></div><div class="kg-file-card-icon"><svg viewBox="0 0 24 24"><defs><style>.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><title>download-circle</title><polyline class="a" points="8.25 14.25 12 18 15.75 14.25"></polyline><line class="a" x1="12" y1="6.75" x2="12" y2="18"></line><circle class="a" cx="12" cy="12" r="11.25"></circle></svg></div></a></div><p>The single biggest thing that improved my results: treating Claude like a knowledgeable colleague who needs to be briefed, not a search engine. The skill enforces this by requiring full context before proceeding.</p><h3 id="bash-auditorwriting-and-reviewing-bash-scripts">bash-auditor - Writing and Reviewing Bash Scripts</h3><p><a href="https://linuxhandbook.com/courses/bash/" rel="noreferrer">Bash</a> is the lingua franca of DevOps and also one of the most footgun-prone languages in existence. A script that looks fine will silently fail because someone forgot <code>set -e</code>. A loop will do something destructive because the variable expansion wasn't quoted. A condition will always evaluate to true because of the way <code>[[ ]]</code> handles empty strings.</p><p>I use this skill for three things: Writing scripts from a plain-English description, reviewing scripts I didn't write, explaining what a script does, etc.</p><pre><code class="language-bash"># My Prompt

Review this Bash script as if you're performing a production code review.

Identify:
- Bugs
- Security issues
- Reliability problems
- Quoting mistakes
- Error handling issues
- Race conditions
- Portability concerns
- Performance improvements

Explain why each issue matters and then provide a corrected production-ready version with comments.</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-24.png" class="kg-image" alt="Output of Claude with bash-auditor skill.md" loading="lazy" width="1132" height="670" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-24.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-24.png 1000w, https://linuxhandbook.com/content/images/2026/06/image-24.png 1132w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Output of Claude with bash-auditor skill.md</span></figcaption></figure><div class="kg-card kg-file-card"><a class="kg-file-card-container" href="https://linuxhandbook.com/content/files/2026/06/SKILL-1.md" title="Download" download=""><div class="kg-file-card-contents"><div class="kg-file-card-title">bash-auditor</div><div class="kg-file-card-caption"></div><div class="kg-file-card-metadata"><div class="kg-file-card-filename">SKILL.md</div><div class="kg-file-card-filesize">5 KB</div></div></div><div class="kg-file-card-icon"><svg viewBox="0 0 24 24"><defs><style>.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><title>download-circle</title><polyline class="a" points="8.25 14.25 12 18 15.75 14.25"></polyline><line class="a" x1="12" y1="6.75" x2="12" y2="18"></line><circle class="a" cx="12" cy="12" r="11.25"></circle></svg></div></a></div><p>A note on trust: I always read through generated Bash before running it, especially anything that touches the filesystem or makes external requests. The skill produces a first draft with proper structure, not production-certified code.</p><h3 id="k8s-manifest-reviewerunderstanding-kubernetes-yaml">k8s-manifest-reviewer - Understanding Kubernetes YAML</h3><p>Kubernetes YAML is verbose by design. A single Deployment manifest can be 80 lines long and most of it is boilerplate. The meaningful parts, resource limits, liveness probes, affinity rules and security contexts are buried in the middle.</p><p>I use this skill in two ways:</p><p><strong>Explaining what a manifest does:</strong> Paste in a Deployment or StatefulSet YAML I haven't seen before and the skill walks through it section by section, calling out anything non-obvious. Particularly useful when you inherit infrastructure and need to quickly understand what's running and why.</p><p><strong>Spotting misconfigurations:</strong> The skill audits against a production-readiness checklist</p><pre><code class="language-bash"># My prompt
Review this Kubernetes Deployment as if you're the platform engineer responsible for approving it for production.

Please:
1. Explain what each section of the manifest does.
2. Point out any security, reliability, scalability, or performance issues.
3. Identify Kubernetes best-practice violations.
4. Rank the issues by severity (Critical, High, Medium, Low).
5. Explain why each issue matters.
6. Suggest concrete fixes.
7. Provide a corrected production-ready manifest.

Context:
- This is running in a production EKS cluster.
- It was migrated from a development environment.
- Traffic is expected to reach 800-1000 requests per second.
- High availability is required.
- Zero-downtime deployments are expected.

Here's the manifest provided:</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-25.png" class="kg-image" alt="Output of Claude with k8s-manifest-reviewer skill.md" loading="lazy" width="1132" height="670" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-25.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-25.png 1000w, https://linuxhandbook.com/content/images/2026/06/image-25.png 1132w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Output of Claude with k8s-manifest-reviewer skill.md</span></figcaption></figure><div class="kg-card kg-file-card"><a class="kg-file-card-container" href="https://linuxhandbook.com/content/files/2026/06/SKILL-2.md" title="Download" download=""><div class="kg-file-card-contents"><div class="kg-file-card-title">k8s-manifest-reviewer</div><div class="kg-file-card-caption"></div><div class="kg-file-card-metadata"><div class="kg-file-card-filename">SKILL.md</div><div class="kg-file-card-filesize">5 KB</div></div></div><div class="kg-file-card-icon"><svg viewBox="0 0 24 24"><defs><style>.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><title>download-circle</title><polyline class="a" points="8.25 14.25 12 18 15.75 14.25"></polyline><line class="a" x1="12" y1="6.75" x2="12" y2="18"></line><circle class="a" cx="12" cy="12" r="11.25"></circle></svg></div></a></div><p>Things the skill catches that are easy to miss: Memory limit lower than memory request, missing <code>readinessProbe</code>, <code>hostNetwork: true</code> left in from a debugging session, <code>:latest</code> image tag in a production manifest, no <code>podAntiAffinity</code> rules, etc.</p><h3 id="format-converterconverting-between-devops-formats">format-converter - Converting Between DevOps Formats</h3><p>DevOps involves a lot of format conversion work that nobody talks about because it's unglamorous. Docker Compose files that need to become Helm charts. Bash scripts that need to become Ansible playbooks. <a href="https://linuxhandbook.com/curl-command-examples/#what-is-curl" rel="noreferrer"><code>cURL</code></a> commands from API docs that need to become Python scripts. JSON that needs to become YAML.</p><p>All of this is mechanical but error-prone when you do it by hand.</p><div class="kg-card kg-file-card"><a class="kg-file-card-container" href="https://linuxhandbook.com/content/files/2026/06/SKILL-3.md" title="Download" download=""><div class="kg-file-card-contents"><div class="kg-file-card-title">format-converter</div><div class="kg-file-card-caption"></div><div class="kg-file-card-metadata"><div class="kg-file-card-filename">SKILL.md</div><div class="kg-file-card-filesize">5 KB</div></div></div><div class="kg-file-card-icon"><svg viewBox="0 0 24 24"><defs><style>.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><title>download-circle</title><polyline class="a" points="8.25 14.25 12 18 15.75 14.25"></polyline><line class="a" x1="12" y1="6.75" x2="12" y2="18"></line><circle class="a" cx="12" cy="12" r="11.25"></circle></svg></div></a></div><p>The skill enforces that constraints are explicit before generating output. The more specific your constraints, the less cleanup you do afterwards.</p><h3 id="runbook-drafterwriting-operational-documentation"><strong>runbook-drafter - Writing Operational Documentation</strong></h3><p>A runbook is only useful if it's actually written. Most teams have "runbooks" that are either a Confluence page last updated in 2021 or just "the person who knows how to restart the thing."</p><p>My process: do the thing first, then write a quick stream-of-consciousness description of what I did and why:</p><pre><code class="language-bash"># My prompt

I just fixed a production database connectivity issue. Here's what happened:
the app pods were getting connection refused on port 5432, which turned out to
be a NetworkPolicy that was blocking traffic from the app namespace to the db
namespace after a recent namespace label change. I fixed it by updating the
namespaceSelector in the NetworkPolicy. Write a runbook section for this.</code></pre><div class="kg-card kg-file-card"><a class="kg-file-card-container" href="https://linuxhandbook.com/content/files/2026/06/SKILL-4.md" title="Download" download=""><div class="kg-file-card-contents"><div class="kg-file-card-title">runbook-drafter</div><div class="kg-file-card-caption"></div><div class="kg-file-card-metadata"><div class="kg-file-card-filename">SKILL.md</div><div class="kg-file-card-filesize">5 KB</div></div></div><div class="kg-file-card-icon"><svg viewBox="0 0 24 24"><defs><style>.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><title>download-circle</title><polyline class="a" points="8.25 14.25 12 18 15.75 14.25"></polyline><line class="a" x1="12" y1="6.75" x2="12" y2="18"></line><circle class="a" cx="12" cy="12" r="11.25"></circle></svg></div></a></div><p>The skill turns that stream-of-consciousness into a structured runbook section in about 30 seconds. I edit it, add the actual commands I ran, and it becomes something a teammate could actually follow at 2am.</p><p>The same approach works for postmortems. Dump the timeline, dump the actions, ask the skill to organize it into a postmortem structure. You still write the "lessons learned" section yourself; that's the part that requires judgment.</p><h3 id="terraform-explainerunderstanding-infrastructure-as-code">terraform-explainer - Understanding Infrastructure as Code</h3><p><a href="https://linuxhandbook.com/courses/terraform/infrastructure-as-code/#2-uses-hcl-hashicorp-configuration-language" rel="noreferrer">Terraform's</a> HCL is readable enough on its own, but complex module structures - especially third-party modules with 40 variables, can be hard to parse quickly. I use this skill to understand infrastructure I didn't write.</p><p><strong>Reading a module:</strong> </p><pre><code class="language-bash">Explain what this Terraform module does. I specifically want to understand:
- What resources it creates
- What the required vs. optional variables are
- Whether anything here creates a public-facing resource
- Anything that might be surprising in a production AWS account</code></pre><div class="kg-card kg-file-card"><a class="kg-file-card-container" href="https://linuxhandbook.com/content/files/2026/06/SKILL-5.md" title="Download" download=""><div class="kg-file-card-contents"><div class="kg-file-card-title">terraform-explainer</div><div class="kg-file-card-caption"></div><div class="kg-file-card-metadata"><div class="kg-file-card-filename">SKILL.md</div><div class="kg-file-card-filesize">5 KB</div></div></div><div class="kg-file-card-icon"><svg viewBox="0 0 24 24"><defs><style>.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><title>download-circle</title><polyline class="a" points="8.25 14.25 12 18 15.75 14.25"></polyline><line class="a" x1="12" y1="6.75" x2="12" y2="18"></line><circle class="a" cx="12" cy="12" r="11.25"></circle></svg></div></a></div><p>Provider APIs go stale. Terraform and cloud provider APIs evolve constantly. For anything version-sensitive, verify against the official registry before trusting the output.</p><h3 id="api-testergenerating-curl-and-api-test-commands">api-tester - Generating cURL and API Test Commands</h3><p>Every time I'm integrating a new service or debugging a webhook, I end up constructing <code>cURL</code> commands from API documentation. JWT auth headers, JSON body formatting, the right Content-Type; this is tedious and the skill is fast at it.</p><p><strong>The prompt I put:</strong></p><pre><code class="language-bash">Give me a cURL command to call the GitHub REST API to list all open pull
requests for the repo "myorg/myrepo", authenticated with a personal access
token stored in $GITHUB_TOKEN, with output formatted as JSON and piped to jq
to show only the PR title and number.</code></pre><div class="kg-card kg-file-card"><a class="kg-file-card-container" href="https://linuxhandbook.com/content/files/2026/06/SKILL-6.md" title="Download" download=""><div class="kg-file-card-contents"><div class="kg-file-card-title">api-tester</div><div class="kg-file-card-caption"></div><div class="kg-file-card-metadata"><div class="kg-file-card-filename">SKILL.md</div><div class="kg-file-card-filesize">5 KB</div></div></div><div class="kg-file-card-icon"><svg viewBox="0 0 24 24"><defs><style>.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><title>download-circle</title><polyline class="a" points="8.25 14.25 12 18 15.75 14.25"></polyline><line class="a" x1="12" y1="6.75" x2="12" y2="18"></line><circle class="a" cx="12" cy="12" r="11.25"></circle></svg></div></a></div><p>The skill knows the auth patterns for common APIs (GitHub, Slack, Prometheus, Alertmanager, PagerDuty) without needing to be told. It also enforces that credentials are always environment variables and generated commands never contain a literal token.</p><p>I use this for any API I haven't touched before: Prometheus remote write, Alertmanager webhooks, AWS API Gateway, Slack, PagerDuty, wherever I need a quick working example to start from. </p><h3 id="cicd-auditorreviewing-cicd-pipeline-configs">cicd-auditor - Reviewing CI/CD Pipeline Configs</h3><p>CI/CD pipelines written in YAML accumulate complexity over time. Stages that nobody remembers the purpose of. Jobs that run sequentially because nobody added <code>needs:</code> correctly. Secrets being printed to logs somewhere. Docker layers not being cached.</p><p><strong>My review prompt:</strong></p><pre><code class="language-bash">Review this GitHub Actions workflow for common issues:
- Steps that could be parallelized but aren't
- Secrets being exposed in logs
- Missing caching for dependencies or Docker layers
- Jobs that will always run even when they should be conditional
- Third-party actions not pinned to a SHA</code></pre><div class="kg-card kg-file-card"><a class="kg-file-card-container" href="https://linuxhandbook.com/content/files/2026/06/SKILL-7.md" title="Download" download=""><div class="kg-file-card-contents"><div class="kg-file-card-title">cicd-auditor</div><div class="kg-file-card-caption"></div><div class="kg-file-card-metadata"><div class="kg-file-card-filename">SKILL.md</div><div class="kg-file-card-filesize">6 KB</div></div></div><div class="kg-file-card-icon"><svg viewBox="0 0 24 24"><defs><style>.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><title>download-circle</title><polyline class="a" points="8.25 14.25 12 18 15.75 14.25"></polyline><line class="a" x1="12" y1="6.75" x2="12" y2="18"></line><circle class="a" cx="12" cy="12" r="11.25"></circle></svg></div></a></div><p><br>The skill specifically checks for something that most miss: <a href="https://docs.github.com/en/actions/reference/security/secure-use?ref=linuxhandbook.com#using-third-party-actions" rel="noreferrer"><strong>third-party GitHub Actions pinned to mutable tags</strong></a>. <code>uses: some-action/tool@v3</code> looks fine, but it can be hijacked; the tag can be moved to point at different code. The safe version is pinning to a commit SHA.</p><h2 id="wrapping-up">Wrapping Up</h2><p>The value I get from Claude in a DevOps context is concentrated in specific places: decoding errors faster, auditing configs I didn't write, handling format conversion that's mechanical but annoying, and getting documentation drafted while the context is fresh. You can refer the official documentation for <a href="https://docs.anthropic.com/en/docs/claude-code/skills?ref=linuxhandbook.com" rel="noreferrer">Claude skills</a>.</p><p>The skills are what make this reliable instead of hit-or-miss. Without them, Claude gives you general advice. With them, it follows a deterministic workflow - asks for the right inputs, applies a consistent checklist, and formats the output in a way you can actually act on. </p><p><strong>If you have more such skill.md that you use, share them in the comments and tell how these skills enhance your workflow!</strong> </p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Why GitOps is Not Just CI/CD]]></title>
                    <description><![CDATA[]]></description>
                    <link>https://linuxhandbook.com/courses/gitops/gitops-is-not-just-ci-cd/</link>
                    <guid isPermaLink="false">6a6342f4b5d4b60001763dd6</guid>

                        <category><![CDATA[GitOps]]></category>

                        <dc:creator><![CDATA[Sachin H R]]></dc:creator>

                    <pubDate>Fri, 24 Jul 2026 16:20:36 +0530</pubDate>


                    <content:encoded><![CDATA[

<aside data-sx-content-cta class="relative p-0.5 js-toc-ignore">

    <div class="relative flex flex-col items-center text-center w-full px-4 py-10 lg:px-10 text-base rounded-xl sm:rounded-2xl">
        <div class="dark:hidden absolute -inset-px -z-10 rounded-xl bg-white shadow-pretty-sm transition-shadow duration-200"></div>
        <span class="hidden dark:block absolute -z-10 -inset-px rounded-inherit bg-radial-[50%_100%_at_50%_0%] from-white/10"></span>        
        <div class="hidden dark:block absolute -inset-px -z-10 rounded-xl bg-white/1 transition-colors duration-500 inset-shadow-md inset-shadow-white/2"></div>
        
        <div class="hidden dark:block absolute -z-10 -inset-0.5 mask-to-b mask-position-to-70% mask-opacity-to-50%">
            <div class="hidden dark:block absolute -z-10 inset-px rounded-xl border border-gray-50/10"></div>
        </div>                                                
        <div class="hidden dark:block absolute -z-10 -inset-px rounded-xl border border-gray-50/5 opacity-0"></div>

        <div class="hidden dark:block absolute -top-px start-1/2 -translate-x-1/2 w-1/2 h-px bg-linear-to-r from-white/0 to-white/0 via-gray-400/50"></div>

        <h2 class="text-gray-900 dark:text-gray-100 text-pretty text-xl sm:text-2xl leading-snug tracking-tight">




                                                <span class="hidden first:inline">
                                This lesson is for paying subscribers only
                            </span>                           
                    <span class="hidden first:inline">
                        This post is for paying subscribers only
                    </span>  

        </h2>

            <button data-portal="signup" class="mt-7 px-4 py-2.5 font-semibold text-sm text-center text-accent-contrast bg-primary rounded-full shadow-primary dark:shadow-none dark:drop-shadow-primary-sm hover:opacity-90 transition-opacity duration-200">
                Subscribe now
            </button>
            <p class="mt-5 text-sm">
                Already have an account? <button data-portal="signin" class="block sm:inline mx-auto font-medium underline decoration-primary decoration-2 underline-offset-2 hover:text-primary transition-colors duration-200">Sign in</button>
            </p>
    </div>
</aside>
]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[GitOps vs Traditional DevOps]]></title>
                    <description><![CDATA[]]></description>
                    <link>https://linuxhandbook.com/courses/gitops/gitops-vs-traditional-devops/</link>
                    <guid isPermaLink="false">6a6341a8b5d4b60001763db7</guid>

                        <category><![CDATA[GitOps]]></category>

                        <dc:creator><![CDATA[Sachin H R]]></dc:creator>

                    <pubDate>Fri, 24 Jul 2026 16:16:52 +0530</pubDate>


                    <content:encoded><![CDATA[

<aside data-sx-content-cta class="relative p-0.5 js-toc-ignore">

    <div class="relative flex flex-col items-center text-center w-full px-4 py-10 lg:px-10 text-base rounded-xl sm:rounded-2xl">
        <div class="dark:hidden absolute -inset-px -z-10 rounded-xl bg-white shadow-pretty-sm transition-shadow duration-200"></div>
        <span class="hidden dark:block absolute -z-10 -inset-px rounded-inherit bg-radial-[50%_100%_at_50%_0%] from-white/10"></span>        
        <div class="hidden dark:block absolute -inset-px -z-10 rounded-xl bg-white/1 transition-colors duration-500 inset-shadow-md inset-shadow-white/2"></div>
        
        <div class="hidden dark:block absolute -z-10 -inset-0.5 mask-to-b mask-position-to-70% mask-opacity-to-50%">
            <div class="hidden dark:block absolute -z-10 inset-px rounded-xl border border-gray-50/10"></div>
        </div>                                                
        <div class="hidden dark:block absolute -z-10 -inset-px rounded-xl border border-gray-50/5 opacity-0"></div>

        <div class="hidden dark:block absolute -top-px start-1/2 -translate-x-1/2 w-1/2 h-px bg-linear-to-r from-white/0 to-white/0 via-gray-400/50"></div>

        <h2 class="text-gray-900 dark:text-gray-100 text-pretty text-xl sm:text-2xl leading-snug tracking-tight">




                                                <span class="hidden first:inline">
                                This lesson is for paying subscribers only
                            </span>                           
                    <span class="hidden first:inline">
                        This post is for paying subscribers only
                    </span>  

        </h2>

            <button data-portal="signup" class="mt-7 px-4 py-2.5 font-semibold text-sm text-center text-accent-contrast bg-primary rounded-full shadow-primary dark:shadow-none dark:drop-shadow-primary-sm hover:opacity-90 transition-opacity duration-200">
                Subscribe now
            </button>
            <p class="mt-5 text-sm">
                Already have an account? <button data-portal="signin" class="block sm:inline mx-auto font-medium underline decoration-primary decoration-2 underline-offset-2 hover:text-primary transition-colors duration-200">Sign in</button>
            </p>
    </div>
</aside>
]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[What GitOps Really Is]]></title>
                    <description><![CDATA[]]></description>
                    <link>https://linuxhandbook.com/courses/gitops/what-is-gitops/</link>
                    <guid isPermaLink="false">6a632767b5d4b60001763d4a</guid>

                        <category><![CDATA[GitOps]]></category>

                        <dc:creator><![CDATA[Sachin H R]]></dc:creator>

                    <pubDate>Fri, 24 Jul 2026 14:45:42 +0530</pubDate>


                    <content:encoded><![CDATA[

<aside data-sx-content-cta class="relative p-0.5 js-toc-ignore">

    <div class="relative flex flex-col items-center text-center w-full px-4 py-10 lg:px-10 text-base rounded-xl sm:rounded-2xl">
        <div class="dark:hidden absolute -inset-px -z-10 rounded-xl bg-white shadow-pretty-sm transition-shadow duration-200"></div>
        <span class="hidden dark:block absolute -z-10 -inset-px rounded-inherit bg-radial-[50%_100%_at_50%_0%] from-white/10"></span>        
        <div class="hidden dark:block absolute -inset-px -z-10 rounded-xl bg-white/1 transition-colors duration-500 inset-shadow-md inset-shadow-white/2"></div>
        
        <div class="hidden dark:block absolute -z-10 -inset-0.5 mask-to-b mask-position-to-70% mask-opacity-to-50%">
            <div class="hidden dark:block absolute -z-10 inset-px rounded-xl border border-gray-50/10"></div>
        </div>                                                
        <div class="hidden dark:block absolute -z-10 -inset-px rounded-xl border border-gray-50/5 opacity-0"></div>

        <div class="hidden dark:block absolute -top-px start-1/2 -translate-x-1/2 w-1/2 h-px bg-linear-to-r from-white/0 to-white/0 via-gray-400/50"></div>

        <h2 class="text-gray-900 dark:text-gray-100 text-pretty text-xl sm:text-2xl leading-snug tracking-tight">




                                                <span class="hidden first:inline">
                                This lesson is for paying subscribers only
                            </span>                           
                    <span class="hidden first:inline">
                        This post is for paying subscribers only
                    </span>  

        </h2>

            <button data-portal="signup" class="mt-7 px-4 py-2.5 font-semibold text-sm text-center text-accent-contrast bg-primary rounded-full shadow-primary dark:shadow-none dark:drop-shadow-primary-sm hover:opacity-90 transition-opacity duration-200">
                Subscribe now
            </button>
            <p class="mt-5 text-sm">
                Already have an account? <button data-portal="signin" class="block sm:inline mx-auto font-medium underline decoration-primary decoration-2 underline-offset-2 hover:text-primary transition-colors duration-200">Sign in</button>
            </p>
    </div>
</aside>
]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[GitOps Handbook (Work in Progress)]]></title>
                    <description><![CDATA[Learn GitOps with ArgoCD in this hands-on course. Go from Kubernetes deployment basics to safe, production-grade rollouts.]]></description>
                    <link>https://linuxhandbook.com/courses/gitops/</link>
                    <guid isPermaLink="false">6a031dceb8e78b00019294e4</guid>

                        <category><![CDATA[GitOps]]></category>

                        <dc:creator><![CDATA[Sachin H R]]></dc:creator>

                    <pubDate>Fri, 24 Jul 2026 14:16:20 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/07/gitops-course.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/07/gitops-course.png" alt="GitOps Handbook (Work in Progress)"/> <p>Have you ever deployed an app to Kubernetes and later realized you don't really know what changed, who changed it, or how to roll it back safely? Maybe dev looked fine, staging looked stable, and production still broke at midnight, right when nobody wanted to touch it.</p><p><em>This is exactly the problem GitOps exists to solve.</em></p><p>GitOps isn't just another DevOps trend. It's a deployment model where Git becomes the single source of truth for your infrastructure and applications. Your cluster continuously pulls the desired state from Git, so every change is auditable, reversible, and predictable.</p><p>Tools like ArgoCD make this possible on Kubernetes, and that's exactly what this course teaches you, starting from the core concepts and working all the way to real production deployments.</p><h2 id="what-youll-learn">What you'll learn</h2><p>This course is split into four modules, taking you from concepts to implementation to production-grade, safe deployments.</p><p><strong>Module 1: GitOps Foundations</strong></p><ul><li>What GitOps really is, and how it compares to traditional DevOps</li><li>Why GitOps is not just CI/CD, and why it's trending right now</li><li>Push vs pull deployments, explained with real-world examples</li></ul><p><strong>Module 2: Getting Started with ArgoCD</strong></p><ul><li>Installing ArgoCD and understanding its architecture</li><li>Deploying your first application the GitOps way</li><li>Setting up RBAC and managing user access</li></ul><p><strong>Module 3: Working with ArgoCD</strong></p><ul><li>Secret management in GitOps</li><li>Helm vs Kustomize deployments</li><li>Multi-environment GitOps strategy across dev, staging, and production</li></ul><p><strong>Module 4: Progressive Delivery with Argo Rollouts</strong></p><ul><li>Blue-green and canary deployments</li><li>Automated rollbacks </li><li>Metrics based decision and safe production releases</li></ul><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">💡</div><div class="kg-callout-text">The course includes a complete, end-to-end, real world project so that you can get hands-on practice on what you learned.</div></div><h2 id="who-this-course-is-for">Who this course is for</h2><p>This course is for you if you deploy applications to Kubernetes and want a safer, more predictable way to do it. It works well whether you're a DevOps engineer tired of manual deployments, a platform engineer building GitOps workflows for your team, or a developer and student who just wants to understand what ArgoCD and Argo Rollouts are actually doing under the hood.</p><p>You don't need any prior experience with ArgoCD to start. A <a href="https://linuxhandbook.com/courses/kubernetes/" rel="noreferrer">basic understanding of Kubernetes</a> will help you get more out of the course, but the first module builds up the concepts from scratch anyway.</p><h2 id="start-the-course">Start the course</h2><p>Start with Module 1 and go through the four modules in order. Each one builds on the last, so you move from GitOps concepts, to your first ArgoCD deployment, to running progressive, production-grade rollouts by the end.</p><p>By the time you finish the final project in Module 5, you'll have hands-on experience with the same GitOps setup used to run real production systems.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[Git Pull Kept Failing on My Ghost Server. Docker Compose Override Fixed It]]></title>
                    <description><![CDATA[Modifying your docker-compose.yml directly and now git pull throws a &quot;local changes would be overwritten&quot; error? Use a compose.override.yml file to keep your changes separate from the file Ghost&#x27;s repo manages.]]></description>
                    <link>https://linuxhandbook.com/blog/docker-compose-override-trick-ghost/</link>
                    <guid isPermaLink="false">6a5f3878b5d4b6000176381b</guid>

                        <category><![CDATA[blog]]></category>

                        <dc:creator><![CDATA[Abhishek Prakash]]></dc:creator>

                    <pubDate>Tue, 21 Jul 2026 19:19:18 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/07/docker-compose-override-file.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/07/docker-compose-override-file.png" alt="Git Pull Kept Failing on My Ghost Server. Docker Compose Override Fixed It"/> <p>If editing your docker-compose.yml directly is breaking git pull from upstream, here's the fix: move your customizations into a separate compose.override.yml file instead of editing the original.</p><h2 id="the-fix-use-a-compose-override-file">The fix: use a compose override file</h2><p>Create a <code>compose.override.yml</code> in the same folder as your <code>compose.yml</code>, and use the exact service names from your original file (<code>ghost</code> and <code>caddy</code>, in my case). </p><pre><code class="language-yaml">services:
  ghost:
    logging:
      driver: json-file
      options:
        max-size: "100m"
        max-file: "5"
  caddy:
    logging:
      driver: json-file
      options:
        max-size: "100m"
        max-file: "5"
</code></pre><p> Docker Compose picks up <code>compose.override.yml</code> automatically and merges it into <code>compose.yml</code> at runtime, so you don't need to pass any extra flags. </p><p>So, when you run:</p><pre><code>docker compose up</code></pre><p>It is equivalent to running:</p><pre><code>docker compose -f compose.yml -f compose.override.yml up</code></pre><p>Your original <code>compose.yml</code> never gets touched, so there's nothing left for <code>git pull</code> to conflict with and so no complaints from git.</p><h2 id="how-i-ran-into-this">How I ran into this</h2><p>I run my Ghost sites using <a href="https://docs.ghost.org/install/docker?ref=linuxhandbook.com">Ghost's official Docker Compose self-hosting method</a>. Eventually, I noticed that Ghost's default setup generates a lot of log output, so I <a href="https://linuxhandbook.com/docker-log-space-issue/">added log rotate option in the docker compose file</a> for the <code>ghost</code> and <code>caddy</code> services directly inside <code>compose.yml</code>. </p><p>This solved the logs eating up disk space problem, but updating the Ghost version became inconvenient. </p><p>Updating to a newer Ghost version after that is meant to be a simple three-step routine: </p><ul><li>git pull</li><li>docker compose pull</li><li>docker compose up -d.</li></ul><p>That routine broke because I modified <code>compose.yml</code>. Every <code>git pull</code> started failing with the same error:</p><pre><code class="language-text">root@ghost-learnubuntu:/opt/ghost# git pull
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (68/68), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 89 (delta 52), reused 29 (delta 20), pack-reused 21 (from 2)
Unpacking objects: 100% (89/89), 31.28 KiB | 485.00 KiB/s, done.
From https://github.com/TryGhost/ghost-docker
   14cc722..d3204b2  main                                   -&gt; origin/main
Updating 14cc722..d3204b2
error: Your local changes to the following files would be overwritten by merge:
        compose.yml
Please commit your changes or stash them before you merge.
Aborting
</code></pre><p>For a while, my workaround was keeping a backup of the untouched <code>compose.yml</code>, or running <code>git stash</code> before every pull. It worked, but it meant remembering an extra step every single time I wanted to update Ghost. </p><p>And one day, I came across the concept of compose override file.</p><h2 id="what-is-a-compose-override-file">What is a compose override file</h2><p>A compose override file is just a <a href="https://docs.docker.com/compose/how-tos/multiple-compose-files/?ref=linuxhandbook.com">second compose file</a> that sits next to your main one. Anything you define inside it gets layered on top of <code>compose.yml</code> automatically, without you having to pass any extra flags to <code>docker compose</code>. </p><p>Since it's a separate file, it's not the one git is tracking against upstream, so pulling new changes from Ghost's repo doesn't touch anything you've customized.</p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">💡</div><div class="kg-callout-text">The only thing that matters is getting the service names right. If a service name in your override file doesn't match the one in <code spellcheck="false" style="white-space: pre-wrap;">compose.yml</code> exactly, Docker Compose treats it as a new service instead of merging into the existing one.</div></div><p>Here's the compose.override.yml file for my Ghost.</p><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/07/compose-override-file.png" class="kg-image" alt="Docker compose override file" loading="lazy" width="1103" height="579" srcset="https://linuxhandbook.com/content/images/size/w600/2026/07/compose-override-file.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/07/compose-override-file.png 1000w, https://linuxhandbook.com/content/images/2026/07/compose-override-file.png 1103w" sizes="(min-width: 720px) 720px"></figure><p>This solved the problem for me completely. My <code>compose.yml</code> now stays exactly as it comes from upstream, and <code>git pull</code>, <code>docker compose pull</code>, <code>docker compose up -d</code> goes back to being a clean three-step routine.</p><h2 id="using-override-files-to-separate-test-and-production">Using override files to separate test and production</h2><p>The same mechanism works for more than just logging. Since an override file just layers extra configuration on top of the base file, you can use a similar setup to separate test and production: keep one <code>compose.override.yml</code> for local tweaks like lighter resource limits or different ports, and a separate file, say <code>compose.prod.yml</code>, for anything specific to production. You pick which one applies at deploy time with the <code>-f</code> flag.</p><h2 id="other-ways-to-use-override-files">Other ways to use override files</h2><p>Let's see various ways you can use the overrride compose file.</p><h3 id="run-without-override">Run without override</h3><p>If you ever need to deploy without applying the override, point <code>docker compose</code> at only the base file explicitly:</p><pre><code class="language-bash">docker compose -f compose.yml up -d
</code></pre><p>Passing <code>-f</code> like this skips the automatic override merge entirely.</p><h3 id="use-multiple-override-files">Use multiple override files</h3><p>You're also not limited to one override file. Layer as many as you need by repeating <code>-f</code> in order, with later files taking priority over earlier ones:</p><pre><code>docker compose -f compose.yml -f compose.override.yml -f compose.prod.yml up -d
</code></pre><h3 id="see-what-the-final-compose-file-looks-like">See what the final compose file looks like</h3><p>Whenever you want to double check what's actually being applied after all that layering, run: </p><pre><code>docker compose config </code></pre><p>It prints the fully merged result.</p><h2 id="%F0%9F%92%A1add-override-to-gitignore">💡Add override to gitignore</h2><p>I have added my <code>compose.override.yml</code> to the <code>.gitignore</code>. It's local to my setup, not something upstream needs to know about, and keeping it out of git means I'll never run into a merge conflict over it either. You can do the same if it fits your scenario.</p><p>I'm sure there's more you can do with override files depending on your setup, but this fixed the problem I had: keeping my logging tweaks out of the file Ghost's repo manages. </p><p>If you're running Ghost, or anything else, through docker compose and editing the compose file directly, it's worth switching to an override file before you reach for <code>git stash</code> every time.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[LHB Linux Digest #26.08: Two Kernel Bugs You Need to Know, SSH Tunneling, and AI Pentesting]]></title>
                    <description><![CDATA[Imagine you could automate pentesting with a bunch of AI agents.]]></description>
                    <link>https://linuxhandbook.com/newsletter/26-09/</link>
                    <guid isPermaLink="false">6a4f88cf3dddcd0001738f30</guid>

                        <category><![CDATA[Newsletter]]></category>

                        <dc:creator><![CDATA[Abhishek Prakash]]></dc:creator>

                    <pubDate>Fri, 10 Jul 2026 17:21:32 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/05/lhb-newsletter.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/05/lhb-newsletter.png" alt="LHB Linux Digest #26.08: Two Kernel Bugs You Need to Know, SSH Tunneling, and AI Pentesting"/> <p>Short one this week my friend, energy's a bit low on my end, but two kernel vulnerabilities landed that are too important to skip, so let's get into it.</p><p>Two old, nasty kernel bugs got public exploits this week. If you're running KVM or any kind of multi-tenant containers, this is a "patch today, not this weekend" situation.</p><p><a href="https://thehackernews.com/2026/07/15-year-old-ghostlock-flaw-enables-root.html?ref=linuxhandbook.com">GhostLock (CVE-2026-43499) is a 15-year-old use-after-free bug</a> in the Linux kernel's futex/rtmutex subsystem. It lets an unprivileged local user grab root and escape containers on unpatched systems. This one's been sitting quietly since 2011, affects pretty much every major distro, and researchers have already shown a reliable exploit that gets root in about five seconds. It also breaks container isolation, so if you're self-hosting anything multi-tenant, take this seriously.</p><p><a href="https://www.bleepingcomputer.com/news/linux/new-januscape-linux-kernel-flaw-allows-vm-escape-on-intel-amd-devices/?ref=linuxhandbook.com" rel="noreferrer">Januscape (CVE-2026-53359) is a 16-year-old use-after-free in KVM</a>'s shadow MMU implementation. It can let an attacker escape a guest VM and run code on the host, on both Intel and AMD systems. Cloud providers and anyone running untrusted workloads in virtualized environments are the biggest targets, but if you run KVM at home, it's worth checking your patch status too.</p><p>Two decade-plus-old bugs surfacing with working exploits in the same week is a good reminder that "old and stable" doesn't mean "safe to ignore."</p><h2 id="%F0%9F%93%9A-worth-reading-from-linux-handbook">📚 Worth reading from Linux Handbook</h2><p>A Postgres instance on a remote server, port 5432 not exposed to the internet (rightly so). How to access it? The fix is SSH tunneling, and <a href="https://linuxhandbook.com/ssh-tunneling/">this tutorial</a> walks through all three flavors with the actual commands and real use cases behind them.</p><ul><li><strong>Local forwarding (<code>-L</code>)</strong> to reach a remote service, like that Postgres box, as if it were running on your own machine</li><li><strong>Remote forwarding (<code>-R</code>)</strong> to expose something local, like a webhook receiver on your dev machine, to the outside world through a VPS</li><li><strong>Dynamic forwarding (<code>-D</code>)</strong> to turn your SSH connection into a SOCKS proxy for encrypting your traffic on untrusted WiFi</li></ul><p> If you've ever wanted to skip standing up a VPN just to reach one service, this is worth ten minutes of your time. <a href="https://linuxhandbook.com/ssh-tunneling/">Read the full guide</a>.</p><p><strong>Also recent, in case you missed them:</strong></p><ul><li><a href="https://linuxhandbook.com/blog/fzf-command/">I Like This Fuzzy Search Finder Better Than Find Command in Linux</a>, a quick case for swapping <code>find</code> for <code>fzf</code> in your daily workflow</li><li><a href="https://linuxhandbook.com/blog/docker-workflow-tools/">These 11 Open Source Tools Completely Improved My Docker Workflow</a>, a practical roundup if you're managing more than a couple of containers</li></ul><h2 id="%F0%9F%92%A1quick-terminal-tip"><strong>💡Quick terminal tip</strong></h2><p>Most Linux users know how to extract archives, but tar includes several lesser-known options that can make working with archives safer and more efficient.</p><p>Before extracting an archive, inspect its contents:</p><pre><code>tar -tf archive.tar.gz
</code></pre><p>This lists every file and directory inside the archive without extracting anything.</p><p>To avoid cluttering your current directory, extract the archive into its own automatically created folder:</p><pre><code>tar -xf archive.tar.gz --one-top-level
</code></pre><p>If you prefer a custom directory name instead, specify it explicitly:</p><pre><code>tar -xf archive.tar.gz --one-top-level=archive
</code></pre><p>Finally, you don't have to extract the entire archive. To restore only specific files or directories, list them after the archive name:</p><pre><code>tar -xf archive.tar.gz path/to/file.txt docs/
</code></pre><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/07/tar-tip-command.png" class="kg-image" alt="" loading="lazy" width="1248" height="665" srcset="https://linuxhandbook.com/content/images/size/w600/2026/07/tar-tip-command.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/07/tar-tip-command.png 1000w, https://linuxhandbook.com/content/images/2026/07/tar-tip-command.png 1248w" sizes="(min-width: 720px) 720px"></figure><p>This is particularly useful when working with large source archives or backups where you only need a handful of files.</p><h2 id="%F0%9F%9B%A0%EF%B8%8F-tool-discovery">🛠️ Tool discovery</h2><p>Let's find your next favorite software in this section.</p><h3 id="darkmoon-ai-powered-autonomous-penetration-testing-platform">DarkMoon: AI-Powered Autonomous Penetration Testing Platform</h3><p><a href="https://github.com/ASCIT31/Dark-Moon?ref=linuxhandbook.com">DarkMoon</a> is an open-source platform that runs full penetration tests using AI agents that plan, execute, and validate real exploits against a target, across web apps, Active Directory, and Kubernetes.</p><p>Why use it? Well, manual pentesting takes weeks and a proper consultant costs thousands a day, and Dark-Moon automates that entire loop, from recon to a structured, evidence-backed report, using 50+ integrated tools like Nuclei, sqlmap, and BloodHound under the hood. </p><p>It also runs a local privacy gateway that keeps your real IPs, hosts, and credentials from ever reaching the LLM provider. Good fit for DevSecOps pipelines, bug bounty workflows, or just testing your own homelab exposure before someone else does. </p><p>You can <a href="https://github.com/ASCIT31/Dark-Moon?ref=linuxhandbook.com">self-host it</a> or purchase a <a href="https://dark-moon.org/?ref=linuxhandbook.com">plan from their website</a>.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/ASCIT31/Dark-Moon?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - ASCIT31/Dark-Moon: Autonomous AI pentesting engine, continuous offensive security across web, cloud, AD &amp; Kubernetes. Agentic reasoning + real exploit execution deliver proof-based vulnerabilities. Privacy gateway: the LLM never sees your real IPs, hosts, creds or paths (deterministic placeholders rehydrated locally), nothing leaves your perimeter.</div><div class="kg-bookmark-description">Autonomous AI pentesting engine, continuous offensive security across web, cloud, AD &amp;amp; Kubernetes. Agentic reasoning + real exploit execution deliver proof-based vulnerabilities. Privacy gatewa…</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/pinned-octocat-093da3e6fa40-f245d2c8-e7fd-4b0f-b7dc-bad39609d3b7.svg" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">ASCIT31</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/Dark-Moon-d9a1ee7d-8df5-46e9-8907-062f3e20702c" alt="" onerror="this.style.display = 'none'"></div></a></figure><h3 id="dashy-self-hosted-dashboard-for-homelab-and-infrastructure-services">Dashy: Self-Hosted Dashboard for Homelab and Infrastructure Services</h3><p><a href="https://github.com/Lissy93/dashy?ref=linuxhandbook.com" rel="noreferrer">Dashy</a> is an open-source, self-hosted dashboard that provides a unified homepage for accessing infrastructure services, applications, and development tools. It combines link management with service health monitoring, widgets, authentication, and extensive customization, making it a practical landing page for homelabs, self-hosted environments, and DevOps teams managing numerous services.</p><ul><li>🚦 <strong>Service Health Monitoring</strong>: Displays real-time availability and status checks for configured applications and services.</li><li>📊 <strong>Rich Widget Ecosystem</strong>: Integrates dynamic widgets for self-hosted services, system information, and external APIs to create an operational dashboard.</li><li>🎨 <strong>Highly Customizable UI</strong>: Supports multiple themes, icon packs, custom CSS, configurable layouts, and a built-in visual configuration editor.</li><li>🔍 <strong>Fast Navigation</strong>: Includes instant search, keyboard shortcuts, multiple pages, and flexible launch options for quickly accessing services.</li><li>🐳 <strong>Easy Deployment</strong>: Runs via Docker, Docker Compose, or directly from source, with support for multi-architecture container images.</li></ul><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/Lissy93/dashy?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - lissy93/dashy: 🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!</div><div class="kg-bookmark-description">🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more! - lissy93/dashy</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/pinned-octocat-093da3e6fa40-827d0cec-983c-4d1a-a579-a29e6cefa93e.svg" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">lissy93</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/82f850a2-b1af-4e9f-9245-c92700d74856-f62e909c-bf5f-4d38-967e-7bc16354f3fe" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="%F0%9F%93%B0-linux-news-that-matters">📰 Linux news that matters</h2><ul><li><a href="https://www.helpnetsecurity.com/2026/07/07/apple-container-open-source-linux-mac/?ref=linuxhandbook.com">Apple has released version 1.0 of its open-source Container project</a>, a Swift-based tool that runs OCI-compatible Linux containers inside lightweight virtual machines on Apple silicon Macs. The stable release introduces persistent Linux environments through the new container machine command, adopts TOML-based configuration, and adds capabilities such as host-to-container file copying while establishing a stable baseline for future development.</li><li>The German state of <a href="https://itsfoss.com/news/german-state-ditches-sharepoint/?ref=linuxhandbook.com">Mecklenburg-Vorpommern is expanding its open-source strategy</a> by rolling out a self-hosted Nextcloud platform across state and municipal administration, with a long-term target of more than 50,000 public-sector employees. The initiative replaces Microsoft SharePoint for collaboration, is operated on state-controlled infrastructure, and forms part of a broader digital sovereignty strategy that also includes OpenProject and a locally controlled AI assistant based on OpenWebUI while emphasizing open standards and European technologies.</li><li>AWS has expanded its <a href="https://www.infoq.com/news/2026/07/aws-devops-ai-agent/?ref=linuxhandbook.com">DevOps Agent with release management capabilities</a> that automatically review code changes, validate dependency impacts and access controls, and execute functional verification in managed environments before software is deployed. The enhancement moves the agent beyond troubleshooting and operations into pre-production quality assurance, positioning it as an AI-assisted release engineer integrated into the software delivery lifecycle.</li><li>Researchers at Noma Security disclosed <a href="https://devops.com/gitlost-flaw-lets-attackers-trick-github-ai-agent-into-leaking-private-repos/?ref=linuxhandbook.com">GitLost, a prompt-injection technique</a> that tricks GitHub Agentic Workflows into reading data from private repositories and publishing it in a public repository comment. The attack requires only a crafted GitHub Issue in a public repository when the organization's AI workflow has read access to private repositories, illustrating how natural-language instructions embedded in untrusted content can override the agent's intended behavior.</li></ul><h2 id="%F0%9F%98%82-geek-humor">😂 Geek humor</h2><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/07/meme-july-9-2026.jpg" class="kg-image" alt="" loading="lazy" width="1080" height="1080" srcset="https://linuxhandbook.com/content/images/size/w600/2026/07/meme-july-9-2026.jpg 600w, https://linuxhandbook.com/content/images/size/w1000/2026/07/meme-july-9-2026.jpg 1000w, https://linuxhandbook.com/content/images/2026/07/meme-july-9-2026.jpg 1080w" sizes="(min-width: 720px) 720px"></figure><h2 id="%F0%9F%92%8C-keep-on-loving-linux-handbook">💌 Keep on loving Linux Handbook</h2><p>GitOps course is nearly ready. It should arrive next week. </p><p>Perfect time to <a href="https://linuxhandbook.com/#/portal/signup">become a Pro member</a> and enjoy unlimited access to our <a href="https://linuxhandbook.com/ebooks/">eBooks</a>, <a href="https://linuxhandbook.com/courses/">courses</a> and in-depth tutorials.</p><p><strong>Missed the previous editions?</strong>&nbsp;You can&nbsp;<a href="https://linuxhandbook.com/newsletter/">access the newsletter archives.</a></p><p>You may also <a href="https://linuxhandbook.com/write-for-us/">contribute to Linux Handbook</a> and share your experience and expertise with the community.</p><p>I like reading your messages, so just hit the reply button and share your thoughts 😄</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[SSH Tunneling: How I Securely Access Anything From Anywhere]]></title>
                    <description><![CDATA[By default, you can only ssh into other machines on your local network. With SSH tunneling, remote connections are made possible.]]></description>
                    <link>https://linuxhandbook.com/ssh-tunneling/</link>
                    <guid isPermaLink="false">6a315dd60fd5850001a08cd0</guid>

                        <category><![CDATA[SSH Advanced]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Mon, 29 Jun 2026 17:24:26 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/06/ssh-tunneling.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/06/ssh-tunneling.png" alt="SSH Tunneling: How I Securely Access Anything From Anywhere"/> <p>There's a moment every Linux user eventually hits, you need to access something on a remote machine, but it's not exposed to the internet. Maybe it's a database running on port 5432, a local web app on port 3000, or a service hidden behind a firewall. The "obvious" solution is to punch a hole in the firewall and expose it. The <em>*right*</em> solution is SSH tunneling.</p><p>I started using SSH tunnels out of necessity. I had a PostgreSQL database running on a remote server, and the sysadmin (correctly) refused to open port 5432 to the internet. Someone in the team mentioned that I could just "tunnel through SSH" to access it. I had no idea what that meant. Twenty<em> </em>minutes<em> </em>of<em> </em>reading<em> </em>later<em>, </em>I had it working and I've been using SSH tunnels regularly ever since for everything from accessing remote services to getting around restrictive networks.</p><p>I'll walk through what SSH tunneling actually is, how each type works, how I set them up, and <strong>importantly,</strong> what the risks are and how to stay on the right side of them.</p><h2 id="what-is-ssh-tunneling"><strong>What is SSH Tunneling?</strong></h2><p>SSH (Secure Shell) is usually thought of as a way to get a remote terminal. But <a href="https://linuxhandbook.com/ssh-port-forwarding/" rel="noreferrer">SSH also has the ability to forward ports</a>; it can take network traffic on one port and route it through the encrypted SSH connection to emerge somewhere else entirely.</p><p>That's SSH tunneling in a sentence: <strong>using an SSH connection as a secure pipe to route other traffic.</strong></p><p>The traffic inside that pipe is encrypted by SSH, which means it gets the same protection as your terminal session. A service that has no encryption of its own, an old database, a plain HTTP admin panel, a Redis instance, suddenly gets full TLS-grade protection just because you're reaching it through SSH.</p><p>There are three types of SSH tunnels. Understanding which one solves your problem is most of the battle:</p><p><strong>Local forwarding:</strong> <code>-L</code> tunnel forwards a port on <em>your machine</em> to somewhere the <em>remote server</em> can reach.<br><strong>Remote forwarding:</strong> <code>-R</code> tunnel forwards a port on the <em>remote server</em> to something on <em>your machine.</em><br><strong>Dynamic forwarding:</strong> SOCKS proxy, <code>-D</code> tunnel turns the SSH connection into a proxy that routes any traffic through the remote.</p><p>Let's go through each one the way I actually use them.</p><h2 id="local-port-forwarding-accessing-remote-services-locally">Local Port Forwarding: Accessing Remote Services Locally</h2><p>This is the one I use most. Local forwarding lets me open a port on my laptop and have traffic on that port come out on the remote server, as if I'm connecting from the server itself.</p><p><strong>My exact use case:</strong> I needed to connect my local database client (DBeaver) to a PostgreSQL instance running on a remote server. Port 5432 was not open to the internet. SSH port 22 was.</p><pre><code class="language-bash">ssh -L 5433:localhost:5432 username@remote-server.example.com
</code></pre><p>Breaking this down: <code>-L</code> tells SSH we're doing local forwarding, <code>5433</code> is the port I'm opening on <em><strong>my machine,</strong></em> <code>localhost:5432</code> is where the traffic should go <em>from the remote server's perspective,</em> <code>lhb@remote-server.example.com</code> is the SSH server I'm tunneling through.</p><p>After running this, I opened DBeaver, pointed it at <code>localhost:5433</code>, and it connected to the PostgreSQL instance on the remote server, over an encrypted channel, as if the database were running locally.</p><p>The tunnel is active for as long as the SSH session stays open. When you exit, the tunnel closes. If you don't need an interactive shell, just the tunnel - add <code>-N</code> to suppress it:</p><pre><code class="language-bash">ssh -N -L 5433:localhost:5432 username@remote-server.example.com</code></pre><p>And if you want it to run in the background:</p><pre><code class="language-bash">ssh -N -f -L 5433:localhost:5432 username@remote-server.example.com</code></pre><p><code>-f</code> sends the process to the background after authenticating. The tunnel stays open without occupying your terminal.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-12.png" class="kg-image" alt="Using locally hosted docker container as remote server for example" loading="lazy" width="956" height="398" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-12.png 600w, https://linuxhandbook.com/content/images/2026/06/image-12.png 956w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Using locally hosted docker container as remote server for example</span></figcaption></figure><p>Here, I have used a <a href="https://hub.docker.com/_/postgres?ref=linuxhandbook.com" rel="noreferrer">Docker PostgreSQL</a> container to show the SSH connection to the remote server.</p><h2 id="remote-port-forwarding-exposing-your-local-machine-to-the-world">Remote Port Forwarding: Exposing Your Local Machine to the World</h2><p>Remote forwarding is local forwarding in reverse. Instead of bringing a remote service to me, I'm pushing something on my machine out to a remote server.</p><p><strong>My use case for this:</strong> I was developing a webhook receiver locally. The service I needed to receive webhooks from (a payment processor) needed a public URL to send to. My development machine is behind NAT, with no public IP. I had a cheap VPS with a public IP. Remote forwarding solved it.</p><pre><code class="language-bash">ssh -R 8080:localhost:3000 username@my-vps.example.com</code></pre><p>Here, <code>-R</code> for remote forwarding, <code>8080</code> is the port that opens on the <strong><em>remote server, </em></strong><code>localhost:3000</code> is where traffic on that remote port gets forwarded, back to my machine, port 3000.</p><p>After running this, anyone hitting <code>my-vps.example.com:8080</code> would have their request tunneled back to port 3000 on my laptop. My local dev server was now reachable from the internet, through an encrypted SSH connection. For the example I have setup the container for the vps as:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-14.png" class="kg-image" alt="VPS container running for reverse tunnel" loading="lazy" width="778" height="571" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-14.png 600w, https://linuxhandbook.com/content/images/2026/06/image-14.png 778w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">VPS container running for reverse tunnel</span></figcaption></figure><p>The VPS container is running for reverse tunneling for the requests that are coming.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-15.png" class="kg-image" alt="simulate external request to vps:8080" loading="lazy" width="1040" height="578" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-15.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/image-15.png 1000w, https://linuxhandbook.com/content/images/2026/06/image-15.png 1040w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">simulate external request to vps:8080</span></figcaption></figure><p>curl from inside the container simulates the external request to the vps:8080 endpoint.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-16.png" class="kg-image" alt="python server logs" loading="lazy" width="790" height="243" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-16.png 600w, https://linuxhandbook.com/content/images/2026/06/image-16.png 790w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">python server logs</span></figcaption></figure><p>Python server verifying and logging the connected request from the internet that comes to the VPS and then to the <code>localhost:3000</code></p><p><strong>When to use this:</strong> Remote forwarding is incredibly useful for quick webhook testing, sharing a local demo with a client, or giving someone remote access to something on your internal network without setting up a VPN.</p><h2 id="dynamic-port-forwarding-ssh-as-a-socks-proxy">Dynamic Port Forwarding: SSH as a SOCKS Proxy</h2><p>Dynamic forwarding is the most flexible of the three. Instead of forwarding a specific port to a specific destination, it creates a <a href="https://en.wikipedia.org/wiki/SOCKS?ref=linuxhandbook.com">SOCKS proxy</a> on your machine. Any application that supports SOCKS proxies can route all its traffic through your SSH connection and it will appear as if that traffic is coming from the remote server.</p><p>Command that can be used:</p><pre><code class="language-bash">ssh -D 1080 -N yash@remote-server.example.com</code></pre><p>This opens a SOCKS5 proxy on <code>localhost:1080</code> on my machine. Any traffic I route through that proxy goes through the SSH tunnel and exits from <code>remote-server.example.com</code>.</p><p>I have used it as:</p><pre><code class="language-bash">ssh -f -D 1080 -N \
  -i ~/ITSFOSS/REVIEW/SSH\ Tunneling/docker-demo/demo_key \
  -p 2223 -o StrictHostKeyChecking=no \
  vpsuser@localhost
ss -tlnp | grep 1080</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-17.png" class="kg-image" alt="proxy is bound to localhost:1080" loading="lazy" width="772" height="242" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-17.png 600w, https://linuxhandbook.com/content/images/2026/06/image-17.png 772w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">proxy is bound to localhost:1080</span></figcaption></figure><p>Then I can setup the network proxy through the network settings as:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-18.png" class="kg-image" alt="Network SOCKS proxy setup" loading="lazy" width="922" height="547" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-18.png 600w, https://linuxhandbook.com/content/images/2026/06/image-18.png 922w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Network SOCKS proxy setup</span></figcaption></figure><p>Then, you need to set up the SOCKS proxy through the network settings.</p><p><strong>When to use this:</strong> When you are in a coffee shop with WiFi and want to encrypt all your browsing, you need to access something that's only reachable from a specific server (e.g., an internal admin panel that only allows connections from the VPS's IP), or you want to test how your website looks from the perspective of another geographic location.</p><h2 id="making-tunnels-persistent">Making Tunnels Persistent</h2><p>Running long <code>ssh -L ...</code> commands every time is annoying. I put my common tunnels in <code>~/.ssh/config</code> so I can activate them with a short alias:</p><pre><code class="language-bash">Host db-tunnel
    HostName remote-server.example.com
    User yash
    LocalForward 5433 localhost:5432
    ServerAliveInterval 60
    ServerAliveCountMax 3

Host socks-proxy
    HostName my-vps.example.com
    User yash
    DynamicForward 1080
    ServerAliveInterval 60
    ServerAliveCountMax 3</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/06/image-19.png" class="kg-image" alt="config at ~/.ssh/config" loading="lazy" width="777" height="543" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/image-19.png 600w, https://linuxhandbook.com/content/images/2026/06/image-19.png 777w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">config at ~/.ssh/config</span></figcaption></figure><p>Now activating the database tunnel is just:</p><pre><code class="language-bash">ssh -N db-tunnel</code></pre><p>And the SOCKS proxy:</p><pre><code class="language-bash">ssh -N socks-proxy</code></pre><h2 id="the-risks-and-how-to-handle-them">The Risks And How to Handle Them</h2><p>SSH tunneling is powerful, and like most powerful tools, it can cause problems if misused or misconfigured. This is the part most tutorials skip.</p><h3 id="risk-1-unauthorized-tunnel-creation">Risk 1: Unauthorized Tunnel Creation</h3><p>The flip side of remote forwarding (<code>-R</code>) is that if someone has SSH access to your server, they can open tunnels out of it, potentially bypassing your network security controls. An attacker with a compromised SSH key could use your server as a relay to reach systems inside your network.</p><p><strong>Mitigation:</strong> Restrict what SSH users can do. In <code>/etc/ssh/sshd_config</code>:</p><pre><code class="language-bash"># Disable port forwarding for all users by default
AllowTcpForwarding no
GatewayPorts no

# Then allow it only for specific trusted users:
Match User deploy-user
    AllowTcpForwarding local</code></pre><p>Use SSH keys (not passwords), enforce key-based auth only, and audit your <code>~/.ssh/authorized_keys</code> files regularly.</p><h3 id="risk-2-tunnel-misuse-on-corporatemanaged-networks">Risk 2: Tunnel Misuse on Corporate/Managed Networks</h3><p>Dynamic SSH tunneling (<code>-D</code>) is a common technique for bypassing network monitoring and content filters. On a corporate or university network, using a SOCKS proxy to route traffic through an external server may violate acceptable use policies, even if you have a legitimate reason.</p><p>I use it when I'm on untrusted public WiFi to protect my own traffic, which is reasonable. Using it to bypass your employer's security controls on company equipment is a different matter; read your acceptable use policy, and don't be surprised if your IT team can see that you're making an encrypted SSH connection to an external server even if they can't see inside it.</p><h3 id="risk-3-exposing-tunnels-beyond-localhost">Risk 3: Exposing Tunnels Beyond Localhost</h3><p>When you run <code>-L 5433:localhost:5432</code>, by default the tunnel binds to <code>127.0.0.1</code> on your machine, only you can use it. But if you bind it to <code>0.0.0.0</code>, anyone on your local network (or beyond) can use that forwarded port to reach the remote service.</p><pre><code class="language-bash"># DANGEROUS — binds to all interfaces
ssh -L 0.0.0.0:5433:localhost:5432 user@remote-server.example.com</code></pre><p>Unless you specifically need to share a tunnel with other people on your network, always let the tunnel bind to <code>127.0.0.1</code> (the default). You can explicitly enforce this:</p><pre><code class="language-bash"># Safe — explicitly binds to loopback only
ssh -L 127.0.0.1:5433:localhost:5432 user@remote-server.example.com</code></pre><h3 id="risk-4-keeping-ssh-keys-secure">Risk 4: Keeping SSH Keys Secure</h3><p>All of this relies on the security of your SSH keys. If your private key is stolen, your tunnels and everything behind them are compromised.</p><p><strong>My key hygiene:</strong> Use <code>ssh-keygen -t ed25519</code> for new keys, as Ed25519 keys are smaller, faster, and considered stronger than RSA-4096 for most use cases, always set a passphrase on private keys, use <code>ssh-agent</code> to avoid retyping the passphrase constantly while keeping the key protected at rest, never share private keys or put them in version control.</p><pre><code class="language-bash"># Generate a new Ed25519 key with a passphrase
ssh-keygen -t ed25519 -C "yash@workstation" -f ~/.ssh/id_ed25519_tunnel

# Add it to ssh-agent so you don't retype the passphrase every session
ssh-add ~/.ssh/id_ed25519_tunnel
```
</code></pre><h2 id="a-quick-reference-when-to-use-which-tunnel">A Quick Reference: When to Use Which Tunnel</h2><table>
<thead>
<tr>
<th>Situation</th>
<th>Tunnel type</th>
<th>Command pattern</th>
</tr>
</thead>
<tbody>
<tr>
<td>Access a remote database or service locally</td>
<td>Local <code>-L</code></td>
<td><code>ssh -L localport:host:remoteport user@server</code></td>
</tr>
<tr>
<td>Share a local dev server with the internet</td>
<td>Remote <code>-R</code></td>
<td><code>ssh -R remoteport:localhost:localport user@server</code></td>
</tr>
<tr>
<td>Encrypt all browsing on untrusted WiFi</td>
<td>Dynamic <code>-D</code></td>
<td><code>ssh -D 1080 -N user@server</code></td>
</tr>
</tbody>
</table>
<h2 id="wrapping-up">Wrapping Up</h2><p>What I like about SSH tunneling is that it solves real problems without adding infrastructure. No VPN server to configure, no WireGuard keypairs to exchange, no nginx proxy rules to write. The SSH connection you already use for server access can also carry your database traffic, your webhook traffic, or your browsing traffic, all encrypted, all without opening extra firewall ports.</p><p>Local forwarding (<code>-L</code>) is the one I reach for most often, any time I need to access a service on a remote machine from a local client. Remote forwarding (<code>-R</code>) is what I use when I need to do the reverse: expose something local to the internet temporarily. Dynamic forwarding (<code>-D</code>) is the occasional privacy tool for when I'm not on a network I trust.</p><p>The risks are real but manageable: keep port forwarding locked down on your SSH servers, bind tunnels to localhost unless you have a specific reason not to, and treat your SSH keys with the same care you'd give a password.</p><p>The setup is one command. The maintenance is minimal. The usefulness compounds the more remote infrastructure you work with.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[LHB Linux Digest #26.08: Knowledge Base Boosting, Local AI, Terminal Course, Podman 6.0 and More]]></title>
                    <description><![CDATA[Create your perosnal knoweldge base, if you have not already.]]></description>
                    <link>https://linuxhandbook.com/newsletter/26-08/</link>
                    <guid isPermaLink="false">6a3a71090fd5850001a0af0b</guid>

                        <category><![CDATA[Newsletter]]></category>

                        <dc:creator><![CDATA[Abhishek Prakash]]></dc:creator>

                    <pubDate>Fri, 26 Jun 2026 18:39:54 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/05/lhb-newsletter.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/05/lhb-newsletter.png" alt="LHB Linux Digest #26.08: Knowledge Base Boosting, Local AI, Terminal Course, Podman 6.0 and More"/> <p>A good Linux user takes notes all the time. A better Linux user organizes them in a proper knowledge base. </p><p>From <a href="https://obsidian.md/?ref=linuxhandbook.com">Obsidian</a> to <a href="https://tolaria.md/?ref=linuxhandbook.com">Tolaria</a>, there are plenty of choices. You could explore <a href="https://linuxhandbook.com/blog/self-hosted-knowledge-base-tools/">some self-hosted knowledge base tools</a> that may even help your team.</p><p>If your knowledge base grows bigger, you can <a href="https://linuxhandbook.com/blog/personal-knowledge-base-with-local-ai/">plugin an AI and get answers from your personal notes</a>. </p><p>Lately, we have been exploring AI... local AI mostly with open source models running on your machine and keeping the data private on your system. </p><p>For example, take <a href="https://linuxhandbook.com/blog/ai-file-sorter/">this AI powered file sorter app</a>. To a seasoned sysadmin, this could be a shell script but it could still fit someone's need I think.</p><p>Then there is agent based automation. So we took <a href="https://linuxhandbook.com/blog/zeroclaw-ai-with-fizzy-automation/">ZeroClaw and plugged it with Fizzy CLI to manage Kanban task board</a>. Interesting times we live in.</p><p>I still find it amsuing that many new age developers are not familiar with even the basics of Linux command line. Our <a href="https://linuxhandbook.com/courses/command-line-basics/">intro course is free</a> so feel free to use it and share it with others.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://linuxhandbook.com/courses/command-line-basics/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Quick Introduction to Linux Command Line</div><div class="kg-bookmark-description">Learn the basics of Linux commands in this short introductory course. Also contains videos.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/Linux-Handbook-New-Logo-206.png" alt=""><span class="kg-bookmark-author">Linux Handbook</span><span class="kg-bookmark-publisher">Ted LeRoy</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/Learning-Linux-beginners-1.webp" alt="" onerror="this.style.display = 'none'"></div></a></figure><p>And for advanced Linux users, the <a href="https://linuxhandbook.com/courses/systemd-playbook/" rel="noreferrer">systemd Playbook</a> is a good way to make more out of systemd.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://linuxhandbook.com/courses/systemd-playbook/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">The systemd Playbook: Learn by Doing</div><div class="kg-bookmark-description">Master systemd the practical way—one lab at a time.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/Linux-Handbook-New-Logo-207.png" alt=""><span class="kg-bookmark-author">Linux Handbook</span><span class="kg-bookmark-publisher">Bhuwan Mishra</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/systemd-playbook-1.webp" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="%F0%9F%92%A1quick-terminal-tip"><strong>💡Quick terminal tip</strong></h2><p>Ever need to document a complex deployment, or share the exact errors a script threw with a teammate? Instead of manually copying and pasting from your terminal, you can record the entire session, both the commands you typed and their visual outputs to a single text file.</p><p>Launch a dedicated logging session using the built-in <code>script</code> command:</p><pre><code>script sample.txt -T sample_time
</code></pre><p>Here, the <code>sample_time</code> file saves the timing information, needed to replay the content later.</p><p>From this moment on, your terminal behaves normally, but every keystroke, command, and output is quietly recorded in the background.</p><p>When your task is finished, simply exit the recording session:</p><pre><code>exit</code></pre><p>Now you have a perfect, chronologically ordered transcript (sample.txt) ready for documentation or debugging.</p><p>To replay the commands, use:</p><pre><code>scriptreplay -B sample.txt -T sample_time
</code></pre><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/06/script_command.gif" class="kg-image" alt="" loading="lazy" width="883" height="537" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/script_command.gif 600w, https://linuxhandbook.com/content/images/2026/06/script_command.gif 883w" sizes="(min-width: 720px) 720px"></figure><h2 id="%F0%9F%9B%A0%EF%B8%8F-tool-discovery">🛠️ Tool discovery</h2><p>Let's find your next favorite software in this section.</p><h3 id="wtf-build-a-personal-devops-dashboard-inside-your-terminal">WTF: Build a Personal DevOps Dashboard Inside Your Terminal</h3><p><a href="https://github.com/wtfutil/wtf?ref=linuxhandbook.com" rel="noreferrer">WTF (wtfutil)</a> is an open-source terminal dashboard that aggregates operational data, development workflows, and personal productivity information into a single TUI interface. Instead of constantly switching between GitHub, Jira, Kubernetes dashboards, calendars, monitoring tools, and terminal windows, WTF presents everything through configurable modules arranged in a customizable grid layout.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/wtfutil/wtf?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - wtfutil/wtf: The personal information dashboard for your terminal</div><div class="kg-bookmark-description">The personal information dashboard for your terminal - wtfutil/wtf</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/pinned-octocat-093da3e6fa40-116.svg" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">wtfutil</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/wtf" alt="" onerror="this.style.display = 'none'"></div></a></figure><h3 id="goaccess-real-time-web-log-analytics-without-tracking-scripts">GoAccess: Real-Time Web Log Analytics Without Tracking Scripts</h3><p><a href="https://github.com/allinurl/goaccess?ref=linuxhandbook.com" rel="noreferrer">GoAccess</a> is an open-source web log analyzer that provides real-time traffic analytics directly from web server logs. Unlike Google Analytics and similar services, it requires no JavaScript trackers, cookies, databases, or external services, making it a privacy-friendly choice for self-hosted environments. It runs in the terminal or generates live HTML dashboards, allowing administrators to monitor traffic, bandwidth usage, response times, errors, and suspicious activity directly from Apache, Nginx, Caddy, CloudFront, and other log sources.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://github.com/allinurl/goaccess?ref=linuxhandbook.com"><div class="kg-bookmark-content"><div class="kg-bookmark-title">GitHub - allinurl/goaccess: GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.</div><div class="kg-bookmark-description">GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser. - allinurl/goaccess</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/pinned-octocat-093da3e6fa40-117.svg" alt=""><span class="kg-bookmark-author">GitHub</span><span class="kg-bookmark-publisher">allinurl</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/bdc5dce2-ba47-4b00-bcea-a049c2394391" alt="" onerror="this.style.display = 'none'"></div></a></figure><h2 id="%F0%9F%93%B0-linux-news-that-matters">📰 Linux news that matters</h2><ul><li><a href="https://github.com/podman-container-tools/podman/releases?ref=linuxhandbook.com">Podman 6.0 is here with some breaking and some interesting features</a>. In cleaning, cgroups v1, iptables, CNI networking, slirp4netns, Intel Mac, and Windows 10 support are all dropped. BoltDB is gone and Podman auto-migrates to SQLite. Network isolation now defaults to enabled. New additions: AMD GPU support via <code>--gpus</code>, a <code>podman machine os update</code> command, and a patch for CVE-2026-57231 (host env var leakage via malformed image metadata)</li><li><a href="https://arstechnica.com/security/2026/06/windows-and-linux-users-the-deadline-to-update-secure-boot-keys-is-near/?ref=linuxhandbook.com"><u>Microsoft's long-planned Secure Boot certificate rollover</u></a> has reached its final stage as legacy certificates issued in 2011 begin expiring in June 2026, requiring systems to transition to newer 2023 certificate chains. The change is intended to maintain UEFI trust integrity and enable future security updates that protect against firmware attacks, bootkits, and supply-chain compromises.</li><li>The <a href="https://www.linuxfoundation.org/press/linux-foundation-announces-intent-to-launch-agent-name-service-to-establish-trusted-identity-infrastructure-for-ai-agents?ref=linuxhandbook.com"><u>Linux Foundation announced its intent to launch the Agent Name Service (ANS)</u></a>, an open standard that extends DNS to provide identity, verification, and discovery mechanisms for AI agents operating across organizations and platforms. ANS aims to create a federated trust layer that allows operators to verify who an agent represents, what permissions it has, and whether its software remains authentic, without relying on proprietary registries or centralized control.</li><li><a href="https://www.phoronix.com/news/Linux-7.2-Drops-strncpy?ref=linuxhandbook.com"><u>Linux 7.2 removes the final uses of the strncpy() function</u></a> from the kernel after roughly six years of work and more than 360 patches spread across numerous subsystems. The API has long been discouraged because its semantics frequently lead to truncation bugs, non-terminated strings, and other memory-handling mistakes, prompting kernel developers to replace it with safer alternatives.</li><li><a href="https://www.infoq.com/news/2026/06/aws-blocks-framework-preview/?ref=linuxhandbook.com"><u>AWS has released AWS Blocks in public preview</u></a>, an open-source TypeScript framework that packages application code, local development environments, and AWS infrastructure definitions into reusable modules called "Blocks." The framework provides local Postgres, authentication, messaging, storage, and other backend services without requiring an AWS account, while generating production AWS infrastructure automatically during deployment.</li><li><a href="https://thenewstack.io/vercel-launches-eve-an-open-source-framework-that-treats-agents-as-directories/?ref=linuxhandbook.com"><u>Vercel has released <strong>eve</strong></u></a>, an open-source framework that defines AI agents as directories containing Markdown instructions, skills, and TypeScript tools, allowing agents to be developed using a filesystem-first workflow. The framework ships with production-oriented capabilities such as durable execution, sandboxed compute, subagents, approvals, and workflow orchestration already integrated rather than requiring developers to assemble multiple infrastructure components.</li><li><a href="https://devops.com/github-retires-its-free-ai-model-playground-what-developers-need-to-know/?ref=linuxhandbook.com"><u>GitHub has started retiring GitHub Models</u></a>, the free AI playground and API layer introduced in 2024, with new customers already blocked from accessing the service as of June 16, 2026. Existing users can continue using the playground, APIs, and hosted models for now, but GitHub has confirmed that the service is heading toward full retirement and is directing new projects toward Azure AI Foundry.</li></ul><h2 id="%F0%9F%98%82-geek-humor">😂 Geek humor</h2><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/06/lhb-meme-june-2026.jpg" class="kg-image" alt="" loading="lazy" width="1080" height="1080" srcset="https://linuxhandbook.com/content/images/size/w600/2026/06/lhb-meme-june-2026.jpg 600w, https://linuxhandbook.com/content/images/size/w1000/2026/06/lhb-meme-june-2026.jpg 1000w, https://linuxhandbook.com/content/images/2026/06/lhb-meme-june-2026.jpg 1080w" sizes="(min-width: 720px) 720px"></figure><h2 id="%F0%9F%92%8C-keep-on-loving-linux-handbook">💌 Keep on loving Linux Handbook</h2><p>We are working on a few new courses. GitOps is the next in publishing queue followed by GNS3. </p><p>And if you like the LHB Linux digest, you can&nbsp;<strong>encourage others to</strong>&nbsp;subscribe to this newsletter. (<a href="https://linuxhandbook.com/newsletter/">From here</a>)</p><p><a href="https://linuxhandbook.com/#/portal/signup">Become a Pro member</a> and enjoy unlimited access to our <a href="https://linuxhandbook.com/ebooks/">eBooks</a>, <a href="https://linuxhandbook.com/courses/">courses</a> and in-depth tutorials.</p><p><strong>Missed the previous editions?</strong>&nbsp;You can&nbsp;<a href="https://linuxhandbook.com/newsletter/">access the newsletter archives.</a></p><p>You may also <a href="https://linuxhandbook.com/write-for-us/">contribute to Linux Handbook</a> and share your experience and expertise with the community.</p><p>I like reading your messages, so just hit the reply button and share your thoughts 😄</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[I Used a Local AI Tool To Organize My Files and Folders]]></title>
                    <description><![CDATA[My folders, specially the download folder is a mess. This little AI tool helped me sort them.]]></description>
                    <link>https://linuxhandbook.com/blog/ai-file-sorter/</link>
                    <guid isPermaLink="false">6a1987de0fd5850001a074bb</guid>

                        <category><![CDATA[AI 🤖🧠]]></category>
                        <category><![CDATA[blog]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Tue, 23 Jun 2026 17:10:21 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/06/ai-file-sorter.webp" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/06/ai-file-sorter.webp" alt="I Used a Local AI Tool To Organize My Files and Folders"/> <p>My Downloads folder is a crime scene. My home directo</p><p>Thousands of files with names like <code>IMG_2048.jpg</code>, <code>Copy_of_final_FINAL_v3.pdf</code>, and <code>untitled(2).docx</code> accumulated over years of telling myself I'd sort it out later. I never did.</p><p>I tried manual sorting. I tried renaming scripts. Nothing stuck because the real problem isn't laziness, it's that I don't know what half the files actually are without opening them first.</p><p><strong>AI File Sorter</strong> takes a different approach. Instead of applying fixed rules, it reads your files, actually looks at images using a visual LLM, extracts text from documents, reads audio/video metadata and then <strong><em>suggests</em></strong> what each file is and where it should go. You review the suggestions before anything moves. Nothing happens without your approval.</p><p>With over <strong>1,000 stars on GitHub</strong> and 16 releases since launch, this isn't an abandoned proof-of-concept. It's a cross-platform desktop app actively being developed, and version 1.8.0 just shipped with meaningful improvements to the visual model and local learning.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/hyperfield/ai-file-sorter?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">AI File Sorter | GitHub</a></div><h2 id="what-ai-file-sorter-actually-does">What AI File Sorter Actually Does</h2><p>Let me be precise about this, because "AI file organizer" can mean very different things.<br>AI File Sorter does three related but distinct things:</p><p><strong>Categorization</strong> - It analyzes each file (by name, extension, content, and folder context) and assigns it a category and optional subcategory. "Photography", "Work Documents", "Music", "Screenshots" - then creates the folders and moves files into them. You pick the categories or let the model suggest them freely.</p><p><strong>Rename suggestions</strong> - For images, it uses a visual LLM to actually look at the picture and suggest a descriptive filename. IMG_2048.jpg might become sunset_over_lake.jpg. For documents, it reads the text content and proposes a cleaner name. For audio/video, it reads the embedded metadata tags and turns them into a consistent library-style name like 2024_artist_album_title.mp3.</p><p><strong>Review before action</strong> - This one matters. None of the above actually happens until you see the suggestions in a review table, approve what you want, edit anything you don't like, and click confirm. Nothing is irreversible without your sign-off.</p><h2 id="getting-it-running-on-linux">Getting It Running on Linux</h2><p>I tested this on Ubuntu 24.04. The prebuilt <code>.deb</code> package from <a href="https://filesorter.app/?ref=linuxhandbook.com">https://filesorter.app/</a><br>First, install the runtime prerequisites:</p><pre><code class="language-bash">sudo apt update &amp;&amp; sudo apt install -y \
  libqt6widgets6 libcurl4 libjsoncpp25 libfmt9 libopenblas0-pthread \
  libvulkan1 mesa-vulkan-drivers patchelf</code></pre><p>Then download the latest released version <code>deb</code> file form <a href="https://filesorter.app/download/?ref=linuxhandbook.com">https://filesorter.app/download/</a> and then install it:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-47.png" class="kg-image" alt="Supported OS for ai-file-sorter app" loading="lazy" width="714" height="944" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-47.png 600w, https://linuxhandbook.com/content/images/2026/05/image-47.png 714w"><figcaption><span style="white-space: pre-wrap;">Supported OS for ai-file-sorter app</span></figcaption></figure><p>After that install the package:</p><pre><code class="language-bash">sudo apt install ./aifilesorter_*.deb</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-49.png" class="kg-image" alt="Installing aifilesorter" loading="lazy" width="776" height="110" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-49.png 600w, https://linuxhandbook.com/content/images/2026/05/image-49.png 776w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Installing aifilesorter</span></figcaption></figure><p>Once installed, launch it from your application menu or run:</p><pre><code class="language-bash">aifilesorter</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-50.png" class="kg-image" alt="Application running on linux" loading="lazy" width="736" height="860" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-50.png 600w, https://linuxhandbook.com/content/images/2026/05/image-50.png 736w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Application running on linux</span></figcaption></figure><h2 id="choosing-your-llm-backend">Choosing Your LLM Backend</h2><p>This is the first real decision you make, and it shapes the whole experience. AI File Sorter supports several options:<br><br><strong>Local models (no internet required): Gemma 3 4B IT,</strong> the new default for both text and visual analysis. Downloads once via the in-app Select LLM dialog.<strong> Gemma 1.1 7B,</strong> a solid local text-only choice for categorization. <strong>Mistral 7B,</strong> another built-in option with broader category language support. <strong>Your own GGUF,</strong> any compatible model you already have can be registered<br><br><strong>Remote models (API key required): -</strong> <strong>ChatGPT,</strong> your own OpenAI API key, any model (gpt-4o-mini, gpt-4.1, etc.). <strong>Gemini,</strong> your own Google AI Studio key (gemini-2.5-flash, gemini-2.5-pro, etc.). <strong>Custom OpenAI-compatible endpoint,</strong> LM Studio, Ollama, or any local server you're already running<br></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-51.png" class="kg-image" alt="Interface of aifilesorter" loading="lazy" width="987" height="832" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-51.png 600w, https://linuxhandbook.com/content/images/2026/05/image-51.png 987w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Interface of aifilesorter</span></figcaption></figure><p>After that there is option to analyse the folder which starts the analysis and one by one parses the files from that folder and categorises it as follows:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-52.png" class="kg-image" alt="file categorization by aifilesorter" loading="lazy" width="1097" height="750" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-52.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-52.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-52.png 1097w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">file categorization by aifilesorter</span></figcaption></figure><p>A few things I noticed in the review: An old screenshot was correctly categorized as "Screenshots/Desktop UI" rather than as a generic "Image" and the images are structured under the folder as per the content and not just by name of the files.</p><p>It asks for your permission to proceed and turn the given randomly stuffed files into categorised, well-structured files. Now, after accepting the changes, you will be able to see the structured files in your Downloads folder:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-53.png" class="kg-image" alt="Structured categorization after analysis of aifilesorter" loading="lazy" width="881" height="524" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-53.png 600w, https://linuxhandbook.com/content/images/2026/05/image-53.png 881w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Structured categorization after analysis of aifilesorter</span></figcaption></figure><p>In the <code>Downloads</code>, there are multiple folders created, like <code>Images</code>: which contains different folders like <code>General</code>, <code>Logos</code> and <code>Photographs</code> which are created with the help of categorization of <code>aifilesorter</code>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-54.png" class="kg-image" alt="Documents folder containing categorized files" loading="lazy" width="871" height="553" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-54.png 600w, https://linuxhandbook.com/content/images/2026/05/image-54.png 871w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Documents folder containing categorized files</span></figcaption></figure><p><code>Documents</code>: which contain different documents categorized after the analysis by <code>aifilesorter</code>. The rename suggestions aren't always perfect. Some generic outdoor shots got overly generic names</p><h2 id="document-analysis-reading-the-file-not-just-the-name">Document Analysis: Reading the File, Not Just the Name</h2><p>Document analysis uses the same LLM (text mode, no mmproj needed) to extract text from supported file types and generate a summary and filename suggestion. Supported formats include:</p><p>Plain text: <code>.txt</code>, <code>.md</code>, <code>.rtf</code>, <code>.csv</code>, <code>.json</code>, <code>.yaml</code>, <code>.log</code>, <code>.html</code><br>PDF: built-in PDFium extractor (no pdftotext dependency needed)<br>Office formats: <code>.docx</code>, <code>.xlsx</code>, <code>.pptx</code>, <code>.odt</code>, <code>.ods</code>, <code>.odp</code></p><p>For my test files, a <code>.pdf</code> result certificate got the <code>Academic_record.pdf</code> based on its opening paragraph. A <code>.odt</code> export from a bank statement was categorized as "Finance" correctly. An old HTML file from a downloaded web page got correctly identified as a web capture rather than a document.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-55.png" class="kg-image" alt="result certificate renamed and categorized in Academic Records" loading="lazy" width="871" height="553" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-55.png 600w, https://linuxhandbook.com/content/images/2026/05/image-55.png 871w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">result certificate renamed and categorized in Academic Records</span></figcaption></figure><h2 id="gpu-acceleration-vulkan-cuda-and-cpu-fallback">GPU Acceleration: Vulkan, CUDA, and CPU Fallback</h2><p>The app supports GPU acceleration via CUDA (NVIDIA) and Vulkan (AMD, Intel, NVIDIA). On Linux, the launcher script auto-detects available backends and prefers CUDA over Vulkan, falling back to CPU if neither is detected.</p><p>You can check and force backends with flags:</p><pre><code class="language-bash"># Force CPU only
aifilesorter --cuda=off --vulkan=off

# Force Vulkan
aifilesorter --vulkan=on --cuda=off</code></pre><h2 id="category-whitelists-and-consistency-controls">Category Whitelists and Consistency Controls</h2><p>One thing I appreciated after my first run: you can constrain what categories the model can pick. Under <strong>Settings → Manage category whitelists…</strong>, you create named lists of allowed categories.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-56.png" class="kg-image" alt="Category whitelist options in aifilesorter" loading="lazy" width="871" height="553" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-56.png 600w, https://linuxhandbook.com/content/images/2026/05/image-56.png 871w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Category whitelist options in aifilesorter</span></figcaption></figure><p>On a re-run of my Downloads folder with a whitelist set to <code>["Work", "Personal", "Finance", "Software", "Media", "Archive"]</code>, the suggestions became noticeably more consistent. Files weren't spread across thirty micro-categories; they clustered into the buckets I actually wanted.</p><p>The docs recommend keeping whitelists to 15–20 entries so they don't overflow smaller local model context windows. For a tightly defined use case (organizing a project folder, sorting a media library), whitelists are the right tool.<br><br>Pair whitelists with "More Consistent" categorization mode for the strongest uniformity across a batch.</p><h2 id="what-works-well">What Works Well</h2><p><strong>The review-first workflow is the right design</strong>. Nothing moves until you approve it. This sounds obvious, but a lot of "automatic" organizers just move your files and hope for the best. The review table with inline editing gives you real control.</p><p><strong>Visual analysis on images is genuinely useful</strong>. Calling a local 4B model to look at actual pixel content and suggest a descriptive name is the thing that separates this app from any rename-by-rules script. It won't always be perfect, but it's directionally right far more often than filename heuristics.</p><p><strong>It runs entirely offline</strong>. No data leaves your machine when using local models. Images, filenames, document text, all processed locally. For people sorting sensitive files, this matters.</p><p><strong>The 1.8.0 screenshot-awareness is a real improvement</strong>. UI screenshots no longer get misclassified as generic photos. The app adds specific prompt guidance for dashboards, forms, mockups, and terminal captures.</p><p><strong>The undo feature works</strong>. Edit → Undo last run reverses the moves on a best-effort basis. Combined with dry-run mode, the safety net is solid for cautious users.</p><h2 id="what-to-be-aware-of">What to Be Aware Of</h2><p><strong>Analysis time scales with folder size and model.</strong> Processing a 500-file folder with visual analysis on every image takes meaningful time on CPU. Plan for it, don't run this right before you need your machine for something else.</p><p><strong>Legacy Office formats (.doc, .xls, .ppt) are not supported.</strong> Only the modern Office XML formats (.docx, .xlsx, .pptx) and OpenDocument equivalents are handled. Old binary formats need converting first.</p><p><strong>The visual model needs two GGUF files.</strong> The main model and the mmproj projector. If you download one and forget the other, image analysis is silently disabled. The app will prompt you to open the Select LLM dialog, but it's easy to miss if you're not looking.</p><p><strong>Rename suggestions on images aren't always specific.</strong> A generic outdoor photo might get a generic descriptive name. The model does its best with what it can see, but "mountain_landscape.jpg" is only marginally better than "IMG_2048.jpg" if you have fifty of them. The categorization accuracy is stronger than the rename precision.</p><h2 id="conclusion">Conclusion</h2><p><strong>AI File Sorter</strong> is doing something meaningfully different from rename scripts and rules-based organizers. Reading actual image content with a visual LLM, extracting document text, reading audio metadata and then letting you review everything before a single file moves, is the right design for a tool that touches your files.<br><br>The local-first approach is a genuine differentiator. My images, documents, and filenames stayed on my machine throughout. No API key, no cloud, no data leaving my hard drive.<br><br>The 1.8.0 improvements to the visual model (Gemma 3 4B IT as default, better screenshot detection, local learning from your approved reviews) make this a noticeably better version than what shipped a few months ago. It's not a finished, polished SaaS product; it's an actively developed open-source desktop app with rough edges, but for the specific problem of <strong>"I need to make sense of this chaotic folder of files,"</strong> it works.</p><p>I am loving to use local AI. It started with <a href="https://linuxhandbook.com/blog/personal-knowledge-base-with-local-ai/" rel="noreferrer">using AI for knowledgebase</a> and now for file sorting. I got to keep exploring 😄</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[11 Self-Hosted Knowledge Base Tools (For Individuals and Teams)]]></title>
                    <description><![CDATA[Take control of your notes and convert them into a proper knowledgebase. I discuss various tools for specific needs.]]></description>
                    <link>https://linuxhandbook.com/blog/self-hosted-knowledge-base-tools/</link>
                    <guid isPermaLink="false">69ddb66c918745000127f27a</guid>

                        <category><![CDATA[blog]]></category>
                        <category><![CDATA[Self Host]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 05 Jun 2026 15:59:39 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/06/self-host-knowledgebase.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/06/self-host-knowledgebase.png" alt="11 Self-Hosted Knowledge Base Tools (For Individuals and Teams)"/> <p>I spent time evaluating these across personal homelab setups, team documentation workflows, and AI-augmented note-taking, filtering down to 11 tools that solve real problems that cloud-only solutions like Notion and Confluence leave unaddressed.</p><p>There's a reason self-hosted knowledge bases are surging in interest right now: <strong>local AI integration</strong>. Tools like Claude (via MCP), <a href="https://linuxhandbook.com/blog/personal-knowledge-base-with-local-ai/" rel="noreferrer">Ollama-backed local LLMs, and RAG pipelines mean you can now ask your own knowledge base questions in natural language</a>, without sending your private notes to a third-party server. The difference between a knowledge base that supports Markdown on disk and one that locks you into a proprietary format is now the difference between AI-queryable and AI-blind. </p><p><strong>Short on time?</strong> Jump to the comparison table below, or use the headers to find your fit.</p><h2 id="at-a-glance-all-11-tools-compared"><strong>At a Glance: All 11 Tools Compared</strong></h2><p>Here's a quick overview before the full breakdowns.</p><table>
<thead>
<tr>
<th>Tool</th>
<th>Best For</th>
<th>AI Integration</th>
<th>Managed Hosting</th>
<th>Our Pick</th>
</tr>
</thead>
<tbody>
<tr>
<td>Outline</td>
<td>Team wikis with Claude/MCP support</td>
<td>MCP + built-in AI search</td>
<td>✅ Official cloud</td>
<td>🏆 Top Pick</td>
</tr>
<tr>
<td>BookStack</td>
<td>Simple structured team docs</td>
<td>API-connectable</td>
<td>❌ Self-host only</td>
<td>Best for Simplicity</td>
</tr>
<tr>
<td>Wiki.js</td>
<td>Developer-first wikis</td>
<td>Via modules + API</td>
<td>❌ Self-host only</td>
<td>Best for Devs</td>
</tr>
<tr>
<td>Obsidian</td>
<td>Personal knowledge + AI plugins</td>
<td>Ollama + Claude plugins</td>
<td>✅ Obsidian Sync (paid)</td>
<td>Best Personal PKM</td>
</tr>
<tr>
<td>AFFiNE</td>
<td>Notion-like all-in-one + whiteboard</td>
<td>Built-in Copilot (Claude/OpenAI/Gemini)</td>
<td>✅ AFFiNE Cloud</td>
<td>Best Notion Alternative</td>
</tr>
<tr>
<td>SiYuan</td>
<td>Private block-based PKM</td>
<td>Local AI proxy support</td>
<td>✅ Official service</td>
<td>Best Privacy-First Pick</td>
</tr>
<tr>
<td>Logseq</td>
<td>Networked thought + graph view</td>
<td>Ollama + API plugins</td>
<td>❌ Self-host only</td>
<td>Best Graph Thinker</td>
</tr>
<tr>
<td>AppFlowy</td>
<td>Open Notion replacement</td>
<td>AI integrations in progress</td>
<td>✅ AppFlowy Cloud</td>
<td>Best Growing Alternative</td>
</tr>
<tr>
<td>Trilium Notes</td>
<td>Deep hierarchical personal knowledge</td>
<td>API scripting + LLM bridges</td>
<td>❌ Self-host only</td>
<td>Best Power User PKM</td>
</tr>
<tr>
<td>Anytype</td>
<td>Local-first object-based knowledge</td>
<td>Planned</td>
<td>✅ Anytype Sync</td>
<td>Best for Offline-First</td>
</tr>
<tr>
<td>Joplin</td>
<td>Portable encrypted notes + sync</td>
<td>AI plugins + Joplin AI</td>
<td>✅ Joplin Cloud (paid)</td>
<td>Best Portable Notes</td>
</tr>
</tbody>
</table>
<p>Now let's go through each one.</p><h2 id="outlinebest-team-knowledge-base-with-native-claudemcp-integration">Outline - Best Team Knowledge Base with Native Claude/MCP Integration</h2><p>Outline is a fast, Markdown-based team wiki and knowledge base that has quietly become the go-to self-hosted alternative to Notion/Confluence for small-to-medium teams - and its Model Context Protocol (MCP) support now lets you connect Claude directly to your Outline wiki to search, read, and write documents through natural language.</p><p><strong>Who it's best for: </strong>Engineering teams and small companies who want a clean, fast, team-accessible wiki that doesn't require a Confluence subscription - especially teams that want Claude or other AI assistants to be able to query the wiki directly.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-yaml">git clone https://github.com/vicalloy/outline-docker-compose.git
cd outline-docker-compose
cp scripts/config.sh.sample scripts/config.sh
# update config file: vim scripts/config.sh
make install  # Create a docker-compose config file and start it. Initializing the oidc-server(add oidc client for outline and create a superuser).</code></pre><p>You will be asked to set up the username and the password for the authentication. Once you set all the things, you will see the outline running on localhost:8888 as below:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-29.png" class="kg-image" alt="Home page of Outline." loading="lazy" width="1920" height="1051" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-29.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-29.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-29.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-29.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Home page of Outline.</span></figcaption></figure><p>The Claude/MCP integration is the headline feature here. With the Outline MCP server, Claude can search your wiki, fetch document contents, and even create or update documents.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-30.png" class="kg-image" alt="API integration feature of Outline." loading="lazy" width="1920" height="1051" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-30.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-30.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-30.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-30.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">API integration feature of Outline.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Built-in AI-powered search that answers questions from your docs<br>- Official MCP server for Claude, Cursor, and VS Code AI integrations<br>- Export any document or entire workspace as Markdown, HTML, or JSON<br>- Guest links, public collections, and team permissions<br>- Official managed cloud option if self-hosting isn't your preference</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Self-hosting requires PostgreSQL + Redis<br>- Not a trivial single-container setup<br>- OIDC/SSO setup adds complexity for secure multi-user deployments<br>- Real-time collaboration editing is limited compared to Google Docs</div></div><p><strong>Verdict:</strong> The most AI-forward self-hosted team wiki available today. If your team uses Claude and wants the AI to actually <em>know</em> what's in your internal docs, Outline's MCP integration makes that real.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/outline/outline?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | Outline </a></div><h2 id="bookstackbest-self-hosted-wiki-for-simple-structured-team-documentation">BookStack - Best Self-Hosted Wiki for Simple, Structured Team Documentation</h2><p>BookStack is a self-hosted documentation platform organized around a physical book metaphor: <strong>Books → Chapters → Pages</strong>. It's opinionated in the best way, the structure makes sense immediately, and there's virtually no setup overhead for the end user.</p><p><strong>Who it's best for: </strong>Small teams, IT departments, and homlab operators who need a clean, no-frills internal wiki for SOPs, runbooks, and project docs and don't want to spend time configuring the tool itself before using it.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-yaml">#docker compose file
services:
  bookstack:
    image: lscr.io/linuxserver/bookstack:latest
    container_name: my_bookstack
    environment:
      - PUID=1000
      - PGID=1000
      - APP_URL=http://localhost:6875
      - APP_KEY=[key]
      - DB_HOST=my_bookstack_db
      - DB_USER=bookstack
      - DB_PASS=yourpassword
      - DB_DATABASE=bookstackapp
    volumes:
      - ./bookstack_app_data:/config
    ports:
      - 6875:80
    restart: unless-stopped
    depends_on:
      - bookstack_db

  bookstack_db:
    image: lscr.io/linuxserver/mariadb:latest
    container_name: my_bookstack_db
    environment:
      - PUID=1000
      - PGID=1000
      - MYSQL_ROOT_PASSWORD=yourpassword
      - TZ=Etc/UTC
      - MYSQL_DATABASE=bookstackapp
      - MYSQL_USER=bookstack
      - MYSQL_PASSWORD=yourpassword
    volumes:
      - ./bookstack_db_data:/config
    restart: unless-stopped</code></pre><p>You need to set the parameters as per your requirements, then after <code>docker compose up</code> you will see the application running on <code>localhost:6875</code>. You just need to generate one <code>APP_KEY</code> then you can replace the same and run the compose file.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-31.png" class="kg-image" alt="Bookstack running on localhost:6875." loading="lazy" width="1920" height="1051" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-31.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-31.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-31.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-31.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Bookstack running on localhost:6875.</span></figcaption></figure><p>You will see a simple minimalist view which represents the books, chapters and pages. Export formats: <strong>Markdown, HTML, PDF, Plain Text, ZIP</strong> (portable backup of an entire Book or shelf).</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-32.png" class="kg-image" alt="Bookstack feature showing stack arrangement." loading="lazy" width="1920" height="1051" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-32.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-32.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-32.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-32.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Bookstack feature showing stack arrangement.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Extremely clean UX, non-technical users don't need training<br>- Full REST API for AI integrations and automation<br>- Export: MD, HTML, PDF, TXT, Portable ZIP for full backups<br>- Diagram support (draw.io) built in-Active development, large community, great documentation- LDAP and SAML SSO support</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- No official managed hosting, you self-host or look for third-party providers<br>- Page editor is limited for power users compared to Notion-like block editors<br>- No graph view, backlinks, or bidirectional linking- AI integration requires third-party tooling via the API</div></div><p><strong>Verdict:</strong> The most production-ready, plug-and-play wiki on this entire list. If your team has been putting off setting up internal documentation because every option felt complex, BookStack removes that excuse.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/BookStackApp/BookStack?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | BookStack </a></div><h2 id="wikijsbest-self-hosted-wiki-for-developer-teams">Wiki.js - Best Self-Hosted Wiki for Developer Teams</h2><p>Wiki.js is a modern, Node.js-based wiki platform with multiple storage backends, including <strong>Git sync -</strong> meaning your documentation can live as Markdown files in a Git repository, automatically synced both ways. This makes it trivially easy to point AI tools at your docs.</p><p><strong>Who it's best for: </strong>Developer teams who want their documentation to live in Git alongside their code and want a clean web UI on top without giving up version history, PRs, or `git blame` for docs.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-yaml">services:
  db:
    image: postgres:15-alpine
    environment:
      POSTGRES_DB: wiki
      POSTGRES_PASSWORD: wikijsrocks
      POSTGRES_USER: wikijs
    volumes:
      - db-data:/var/lib/postgresql/data
    restart: unless-stopped

  wiki:
    image: ghcr.io/requarks/wiki:2
    depends_on:
      - db
    environment:
      DB_TYPE: postgres
      DB_HOST: db
      DB_PORT: 5432
      DB_USER: wikijs
      DB_PASS: wikijsrocks
      DB_NAME: wiki
    ports:
      - "3000:3000"
    restart: unless-stopped

volumes:
  db-data:
</code></pre><p>After running the compose, you will be able to see the application running:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-33.png" class="kg-image" alt="Wiki.js initial configuration page." loading="lazy" width="1920" height="1008" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-33.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-33.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-33.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-33.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Wiki.js initial configuration page.</span></figcaption></figure><p>After the initial setup of the email and password, you will get to see different features like search engines, API access, authentication, storage, analytics and many more.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-34.png" class="kg-image" alt="Wiki.js in action." loading="lazy" width="1920" height="968" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-34.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-34.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-34.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-34.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Wiki.js in action.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Git-backed storage keeps docs in Markdown in a real Git repo<br>- Multiple database backends: PostgreSQL, MySQL, SQLite, MSSQL<br>- LDAP, SAML, Auth0, Google, GitHub SSO all configurable<br>- Beautiful, modern reader and editor UI</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- No managed hosting option (self-host only)<br>- Setup is heavier than BookStack<br>- Wiki.js 3.x has been in development for a long time;c stable 2.x is the current release<br>- No graph/backlink view</div></div><p><strong>Verdict:</strong> The best choice for engineering teams who want their wiki to behave like their code, in Git, reviewable, version-controlled, and introspectable by any AI tool that can read a repo.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/Requarks/wiki?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | Wiki.js </a></div><h2 id="obsidianbest-personal-knowledge-base-with-ai-plugin-ecosystem">Obsidian - Best Personal Knowledge Base with AI Plugin Ecosystem</h2><p>Obsidian stores your notes as plain Markdown files on disk, which sounds simple, but it means you have the most AI-friendly knowledge base possible. Every local LLM (via Ollama), every AI agent (including Claude via MCP), and every search tool can work directly with your notes without any export step.</p><p><strong>Who it's best for: </strong>Researchers, writers, developers, and knowledge workers who want a powerful personal knowledge base with bidirectional links, a graph view, and access to the richest AI plugin ecosystem of any PKM tool available.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-yaml">services:
  obsidian:
    image: lscr.io/linuxserver/obsidian:latest
    container_name: obsidian
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - obsidian-config:/config
    ports:
      - 3000:3000
      - 3001:3001
    restart: unless-stopped
    shm_size: "1gb"

volumes:
  obsidian-config:
</code></pre><p>After setting up your obsidian will be running on <code>localhost:3000</code> </p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-35.png" class="kg-image" alt="Obsidian running on localhost:3000." loading="lazy" width="1920" height="1012" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-35.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-35.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-35.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-35.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Obsidian running on localhost:3000.</span></figcaption></figure><p>It supports many open source and community plugins and the graph view is one of the most promising features. Through these plugins, like <a href="https://github.com/aaronsb/obsidian-mcp-plugin?ref=linuxhandbook.com" rel="noreferrer">obsidian-mcp</a> you can expose your Obsidian vault to Claude desktop.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-36.png" class="kg-image" alt="AI Plugins integration in obsidian." loading="lazy" width="1920" height="1012" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-36.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-36.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-36.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-36.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">AI Plugins integration in obsidian.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Files are just <code spellcheck="false" style="white-space: pre-wrap;">.md</code> files in a folder, zero lock-in, maximum AI compatibility<br>- Graph view shows the full web of connected notes<br>- 1000+ community plugins including mature AI integrations (Ollama, Claude, OpenAI)<br>- Bidirectional links, tags, data views, daily notes, canvases<br>- Claude MCP integration lets Claude read your vault natively</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Not a team/shared knowledge base, designed for a single user's vault<br>- AI plugins require setup time, no "AI that just works" out of the box<br>- Graph view can become overwhelming with large vaults</div></div><p><strong>Verdict:</strong> The most AI-ready knowledge base because it's the most file-system-friendly. Your notes are just Markdown. Claude can read them via MCP. Ollama can embed them for RAG. If AI augmentation of your personal knowledge base matters, start here.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/obsidianmd?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | Obsidian </a></div><h2 id="affinebest-all-in-one-knowledge-base-with-built-in-ai-copilot">AFFiNE - Best All-in-One Knowledge Base with Built-In AI Copilot</h2><p>AFFiNE is an open-source, self-hostable Notion alternative that combines documents, databases, and an <strong>infinite whiteboard canvas</strong> - with a built-in AI Copilot that supports Claude, OpenAI, and Gemini models, configurable from the admin console of your self-hosted instance.</p><p><strong>Who it's best for: </strong>Teams and individuals who want the Notion all-in-one experience (notes + projects + databases + visual thinking) but want to self-host their data and plug in their own AI provider, including Claude.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-yaml">name: affine
services:
  affine:
    image: ghcr.io/toeverything/affine:${AFFINE_REVISION:-stable}
    container_name: affine_server
    ports:
      - '${PORT:-3010}:3010'
    depends_on:
      redis:
        condition: service_healthy
      postgres:
        condition: service_healthy
      affine_migration:
        condition: service_completed_successfully
    volumes:
      # custom configurations
      - ${UPLOAD_LOCATION}:/root/.affine/storage
      - ${CONFIG_LOCATION}:/root/.affine/config
    env_file:
      - .env
    environment:
      - REDIS_SERVER_HOST=redis
      - DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine}
      - AFFINE_INDEXER_ENABLED=false
    restart: unless-stopped

  affine_migration:
    image: ghcr.io/toeverything/affine:${AFFINE_REVISION:-stable}
    container_name: affine_migration_job
    volumes:
      # custom configurations
      - ${UPLOAD_LOCATION}:/root/.affine/storage
      - ${CONFIG_LOCATION}:/root/.affine/config
    command: ['sh', '-c', 'node ./scripts/self-host-predeploy.js']
    env_file:
      - .env
    environment:
      - REDIS_SERVER_HOST=redis
      - DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine}
      - AFFINE_INDEXER_ENABLED=false
    depends_on:
      postgres:
        condition: service_healthy
      redis:
        condition: service_healthy

  redis:
    image: redis
    container_name: affine_redis
    healthcheck:
      test: ['CMD', 'redis-cli', '--raw', 'incr', 'ping']
      interval: 10s
      timeout: 5s
      retries: 5
    restart: unless-stopped

  postgres:
    image: pgvector/pgvector:pg16
    container_name: affine_postgres
    volumes:
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_DB: ${DB_DATABASE:-affine}
      POSTGRES_INITDB_ARGS: '--data-checksums'
      # you better set a password for you database
      # or you may add 'POSTGRES_HOST_AUTH_METHOD=trust' to ignore postgres security policy
      POSTGRES_HOST_AUTH_METHOD: trust
    healthcheck:
      test:
        ['CMD', 'pg_isready', '-U', "${DB_USERNAME}", '-d', "${DB_DATABASE:-affine}"]
      interval: 10s
      timeout: 5s
      retries: 5
    restart: unless-stopped
</code></pre><p>After setting up, your application will be running on <code>localhost:3010</code></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-37.png" class="kg-image" alt="AFFiNE running on localhost:3010." loading="lazy" width="1920" height="1012" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-37.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-37.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-37.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-37.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">AFFiNE running on localhost:3010.</span></figcaption></figure><p>You can also manage AI integration through the settings by providing API_KEY and necessary URLs.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-38.png" class="kg-image" alt="API integration feature configuration in AFFiNE." loading="lazy" width="1920" height="1012" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-38.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-38.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-38.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-38.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">API integration feature configuration in obsidian.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Built-in AI Copilot, supports Claude, OpenAI, Gemini; configure your own API key<br>- Edgeless whiteboard mode for visual thinking alongside structured docs<br>- True offline mode, works without internet connection<br>- Open-source (MIT License) with AFFiNE Cloud as managed hosting option<br>- Import from Notion (ZIP export), legit migration path</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- AI features require PostgreSQL with <code spellcheck="false" style="white-space: pre-wrap;">pgvector</code> adds infra complexity for self-hosters<br>- Still actively maturing, some rough edges vs. Notion's polish<br>- Whiteboard + docs + databases in one can feel overwhelming initially<br>- Mobile apps are new and less polished than desktop ones</div></div><p><strong>Verdict:</strong> The most feature-complete open-source Notion alternative, and the only one with a genuinely integrated AI Copilot you can point at Claude. For teams migrating from Notion who want to keep their AI features, this is the path.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/toeverything/AFFiNE?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | AFFiNE </a></div><h2 id="siyuan-notesbest-privacy-first-knowledge-base-with-local-first-architecture">SiYuan Notes - Best Privacy-First Knowledge Base with Local-First Architecture</h2><p>SiYuan is a block-based, local-first personal knowledge management system with a built-in SQLite index, which means you get powerful block-level cross-referencing and database-like queries entirely on your own machine, with no mandatory cloud connection.</p><p><strong>Who it's best for: </strong>Privacy-conscious individuals and power users who want deep block-level relational linking, a clean self-contained app, and the option to self-host their own sync server without any third-party cloud involvement.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-yaml">version: "3.9"
services:
  siyuan:
    image: b3log/siyuan
    command: ["--workspace=/siyuan/workspace/", "--accessAuthCode=siyuanrocks"]
    ports:
      - 6806:6806
    volumes:
      - siyuan-data:/siyuan/workspace
    restart: unless-stopped

volumes:
  siyuan-data:
</code></pre><p>After running the setup you need to enter the authcode that you have set in the configuration in this case: <code>siyuanrocks</code></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-41.png" class="kg-image" alt="SiYuan Homepage." loading="lazy" width="1920" height="1012" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-41.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-41.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-41.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-41.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">SiYuan Homepage.</span></figcaption></figure><p>You can also get the AI features through the API_KEY of ChatGPT, Claude, DeepSeek, and other models that support the OpenAI interface.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-40.png" class="kg-image" alt="AI Integration configuration in SiYuan." loading="lazy" width="1920" height="1012" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-40.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-40.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-40.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-40.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">AI Integration configuration in SiYuan.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Completely local-first, no cloud required for any core feature<br>- Block-level SQL queries and relational cross-referencing built in<br>- End-to-end encryption for sync, data never leaves encrypted in transit<br>- Docker server mode, self-host your own sync for family or small team<br>- AI integration via API, community projects bridge SiYuan to local LLMs</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Native format (<code spellcheck="false" style="white-space: pre-wrap;">.sy</code>) is custom JSON, requires conversion for AI tools (use Markdown export)<br>- Community is smaller than Obsidian, with fewer third-party AI plugins<br>- Steeper learning curve than BookStack or Outline<br>- Mobile apps exist, but sync setup requires technical comfort</div></div><p><strong>Verdict:</strong> The most technically sophisticated privacy-first PKM on the list. The SQL-queryable block database is genuinely unique; no other tool on this list lets you run relational queries across your notes like this.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/siyuan-note/siyuan?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | SiYuan </a></div><h2 id="logseqbest-knowledge-base-for-networked-thought-and-graph-based-thinking"> Logseq - Best Knowledge Base for Networked Thought and Graph-Based Thinking</h2><p>Logseq is a local-first, outline-based knowledge tool built around the concept of networked thought, every bullet point is a block that can be referenced from anywhere, and a graph view visualizes the connections between all your notes. Like Obsidian, it stores everything as plain Markdown (or Org-mode) files on disk.</p><p><strong>Who it's best for: </strong>Researchers, academics, writers, and deep thinkers who work with connecting ideas across many notes, anyone who has found flat note apps limiting and wants to see how their knowledge <strong><em>relates</em></strong> to itself.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-yaml">services:
  logseq:
    image: ghcr.io/logseq/logseq-webapp:latest
    ports:
      - "3001:80"
    restart: unless-stopped</code></pre><p>After deploying the setup, the Logseq will be available at <code>localhost:3001</code></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-42.png" class="kg-image" alt="Logseq in action." loading="lazy" width="1920" height="1012" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-42.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-42.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-42.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-42.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Logseq in action.</span></figcaption></figure><p>Whiteboard and flashcards are one of the promising features from Logseq.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-43.png" class="kg-image" alt="Infinite Whiteboard feature of Logseq." loading="lazy" width="1920" height="1012" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-43.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-43.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-43.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-43.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Infinite Whiteboard feature of Logseq.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Outliner-first, every line is a block, referenceable from anywhere<br>- Graph view shows the full web of connections across all notes<br>- Plain Markdown files on disk, maximum AI compatibility<br>- Journals (daily note) workflow built in for capturing</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- Learning curve, the outliner paradigm feels different from traditional note apps<br>- No official self-hosted sync server, relies on third-party Logseq Sync<br>- Not a team/collaborative tool, fundamentally personal and local-first<br>- No managed hosting option for teams</div></div><p><strong>Verdict:</strong> The best choice for people who think in connections rather than linear documents. If you've ever wanted to see how all your research relates to itself, the graph view will immediately make sense. Pair it with Ollama and the Smart Search plugin for local AI querying.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/logseq/logseq?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | Logseq </a></div><h2 id="appflowybest-open-source-notion-alternative-with-growing-ai-features">AppFlowy - Best Open-Source Notion Alternative with Growing AI Features</h2><p>AppFlowy is an open-source, local-first Notion replacement built in Flutter, with a modular architecture designed from the ground up for customization and self-hosting. Its AI integration is under active development, with integrations for local models (Ollama) and cloud providers being added in 2024-2025.</p><p><strong>Who it's best for: </strong>Teams and individuals who want a Notion-like interface (documents, databases, kanban boards, calendars) with full local ownership and the ability to deploy their own sync server and are willing to accept that AI features are still maturing.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-bash"># clone repo
git clone https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
cd AppFLowy-Cloud

# copy .env file
cp deploy.env .env

# change ports
NGINX_PORT=80
NGINX_TLS_PORT=443

docker compose up -d

docker compose ps</code></pre><p>After the setup, if there is an error of a port already in use, try changing the ports and running the application again.</p><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/04/image-44.png" class="kg-image" alt="AppFlowy in action." loading="lazy" width="1920" height="1009" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-44.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-44.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-44.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-44.png 1920w" sizes="(min-width: 720px) 720px"></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- Built for local-first ownership, your data stays on your machine<br>- Free managed cloud tier available (AppFlowy Cloud)<br>- Multi-view databases (grid, board, calendar, gallery) in the same document<br>- Open-source (AGPL) with active development<br>- Growing AI integrations - Ollama, OpenAI, Claude support added<br>- Cross-platform: Linux, macOS, Windows, iOS, Android</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- AI features are still maturing, functionality lags behind Notion AI<br>- Fewer third-party integrations than Notion<br>- Self-hosted sync server setup is non-trivial (Docker Compose with multiple services)<br>- Export formats are limited compared to other tools on this list- Performance on very large documents can still be rough</div></div><p><strong>Verdict:</strong> The most Notion-like experience in the open-source world, with local-first data ownership. The AI integrations are genuinely there, just earlier-stage. If you want to own your Notion replacement and watch it grow, AppFlowy is the right bet.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/AppFlowy-IO/AppFlowy?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | AppFlowy </a></div><h2 id="trilium-notesbest-self-hosted-tool-for-deep-hierarchical-personal-knowledge">Trilium Notes - Best Self-Hosted Tool for Deep Hierarchical Personal Knowledge</h2><p>Trilium Notes is a hierarchical personal knowledge base with an unusual superpower: <strong>scripted automation via built-in JavaScript note scripts</strong>. Notes can contain runnable JS that queries and manipulates other notes, making it a programmable knowledge system, not just a static wiki.</p><p><strong>Who it's best for: </strong>Power users and developers who want maximum flexibility in how their knowledge is organized and automated, including those who want to build custom AI integrations directly into their notes via JavaScript.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-yaml">services:
  trilium:
    image: zadam/trilium:latest
    container_name: trilium-notes
    restart: unless-stopped
    ports:
      - "50081:8080" # Mapping to an alternative port to avoid conflicts with other apps
    volumes:
      - trilium_data:/home/node/trilium-data
    environment:
      - TRILIUM_PORT=8080

volumes:
  trilium_data:</code></pre><p>After the setup the Trilium will be running on <code>localhost:50081</code></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-45.png" class="kg-image" alt="Trilium running on localhost:50081." loading="lazy" width="1920" height="1009" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-45.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-45.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-45.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-45.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Trilium running on localhost:50081.</span></figcaption></figure><p>It has a hierarchical structure of notes and also has the feature of canvas notes where you can add shapes, arrows and colors to your notes.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-46.png" class="kg-image" alt="canvas notes feature." loading="lazy" width="1920" height="1009" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-46.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-46.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-46.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-46.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">canvas notes feature.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- JavaScript scripting inside notes, programmable knowledge base<br>- REST API (ETAPI) for external integrations, including AI tools<br>- Hierarchical tree organization can go extremely deep without losing structure<br>- Relation maps for visual linking<br>- Self-hosted sync server between desktop clients- Extensive attribute system for metadata</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- No managed cloud hosting, fully self-hosted only<br>- Trilium Notes (zadam) was archived in 2024, community fork TriliumNext is the active maintained version (use <code spellcheck="false" style="white-space: pre-wrap;">TriliumNext/Notes</code> on GitHub)<br>- UI looks dated compared to AFFiNE or Outline<br>- Not built for teams, fundamentally single-user</div></div><p><strong>Verdict: </strong>The most <strong><em>programmable</em></strong> personal knowledge base on the list. If you've ever wanted your notes to run code and call an AI API on their own, Trilium (via TriliumNext) is the only tool on this list that does that natively.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/TriliumNext/Trilium?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | Trilium</a></div><h2 id="anytypebest-local-first-knowledge-base-with-offline-first-architecture">Anytype - Best Local-First Knowledge Base with Offline-First Architecture</h2><p>Anytype is a privacy-focused, object-based personal knowledge tool built on a peer-to-peer protocol (Any-Sync). Everything is stored locally first and synced peer-to-peer; there's no central server that holds your data. Even when using Anytype's network for sync, data is end-to-end encrypted before leaving your device.</p><p><strong>Who it's best for: </strong>Privacy-focused individuals who want a Notion-like structured knowledge system with the strongest possible data sovereignty guarantees and are comfortable with a younger, still-maturing product.</p><p><strong>Quick Setup:</strong></p><p>Unlike the other projects this one needs you to download the Desktop app through their website: <a href="https://anytype.io/?ref=linuxhandbook.com">https://anytype.io/</a></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-47.png" class="kg-image" alt="Anytype Desktop Application. " loading="lazy" width="1920" height="1077" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-47.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-47.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-47.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-47.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Anytype Desktop Application. </span></figcaption></figure><p>Any experience gallery is one of the features they provide to experience different configurations created by some users for easy workflow management.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-48.png" class="kg-image" alt="Any Experience Gallery." loading="lazy" width="1920" height="1077" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-48.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-48.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-48.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-48.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Any Experience Gallery.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- End-to-end encrypted by default, data encrypted before leaving your device<br>- Self-hostable sync infrastructure (MongoDB + Redis + S3 stack)<br>- Free tier on Anytype's sync network with E2EE<br>- Object graph model, more flexible than flat notes or rigid hierarchy<br>- Import from Notion, Markdown, CSV</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- AI integration is planned but not yet available<br>- Self-hosting the Any-Sync infrastructure is complex (MongoDB + Redis + S3)<br>- Custom Any-Block format limits direct AI tool compatibility (use Markdown export)<br>- Product is still maturing, some features feel unfinished</div></div><p><strong>Verdict:</strong> The strongest privacy guarantee of any tool on this list, peer-to-peer, E2EE, and self-hostable right down to the sync layer. For users who treat data sovereignty as a non-negotiable, Anytype is the pick, even if it means waiting for AI features to land.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/anyproto?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | Anytype</a></div><h2 id="joplinbest-open-source-notes-app-with-portable-encryption-and-sync">Joplin - Best Open-Source Notes App with Portable Encryption and Sync</h2><p>Joplin is a mature, battle-tested open-source note-taking app that strikes the best balance between data portability, privacy, and accessibility across platforms. It syncs to virtually anything: Nextcloud, WebDAV, Dropbox, OneDrive, S3 and has Joplin AI and AI plugin support for LLM integration.</p><p><strong>Who it's best for: </strong>Users switching from Evernote or OneNote who want an open-source, self-hostable replacement with broad platform support, end-to-end encryption, and enough extensibility to add AI features via the plugin system.</p><p><strong>Quick Setup:</strong></p><pre><code class="language-yaml">services:
  postgres:
    image: postgres:16
    volumes:
      - ./data/postgres:/var/lib/postgresql/data
    restart: unless-stopped
    environment:
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
      - POSTGRES_USER=${POSTGRES_USER}
      - POSTGRES_DB=${POSTGRES_DATABASE}
    networks:
      - joplin_network

  joplinsync:
    image: joplin/server:latest
    depends_on:
      - postgres
    ports:
      - "22300:22300"
    restart: unless-stopped
    environment:
      - APP_PORT=22300
      - APP_BASE_URL=${APP_BASE_URL}
      - DB_CLIENT=pg
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
      - POSTGRES_DATABASE=${POSTGRES_DATABASE}
      - POSTGRES_USER=${POSTGRES_USER}
      - POSTGRES_PORT=5432
      - POSTGRES_HOST=postgres
    networks:
      - joplin_network

networks:
  joplin_network:
</code></pre><p>After giving the necessary parameters in your .env or values in specific parameters, the Joplin server will run at <code>localhost:22300</code>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-49.png" class="kg-image" alt="Joplin Homepage." loading="lazy" width="1914" height="991" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-49.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-49.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/04/image-49.png 1600w, https://linuxhandbook.com/content/images/2026/04/image-49.png 1914w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Joplin Homepage.</span></figcaption></figure><p>It has a plugin named <a href="https://joplinapp.org/plugins/plugin/joplin.plugin.alondmnt.jarvis/?ref=linuxhandbook.com" rel="noreferrer">Jarvis</a> (Joplin Assistant Running a Very Intelligent System), which&nbsp;is an AI note-taking assistant for&nbsp;Joplin, powered by online and&nbsp;offline&nbsp;LLMs (such as OpenAI's ChatGPT or GPT-4, Hugging Face, Gemini, Universal Sentence Encoder). For the Desktop application, you can download it from the official <a href="https://objects.joplinusercontent.com/v3.5.13/Joplin-3.5.13.AppImage?source=JoplinWebsite&type=New" rel="noreferrer">link</a>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/04/image-50.png" class="kg-image" alt="Joplin Desktop Application." loading="lazy" width="1550" height="879" srcset="https://linuxhandbook.com/content/images/size/w600/2026/04/image-50.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/04/image-50.png 1000w, https://linuxhandbook.com/content/images/2026/04/image-50.png 1550w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Joplin Desktop Application.</span></figcaption></figure><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">✅</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Pros:</strong></b><br>- The most sync-target flexibility of any tool on the list (Nextcloud, S3, etc.)<br>- End-to-end encryption option for all synced notes<br>- Joplin AI plugin adds Claude/OpenAI/Ollama AI directly in the editor<br>- Battle-tested and mature, not a new or experimental product<br>- Joplin Cloud (paid) for zero-hassle managed sync</div></div><div class="kg-card kg-callout-card kg-callout-card-red"><div class="kg-callout-emoji">🔴</div><div class="kg-callout-text"><b><strong style="white-space: pre-wrap;">Cons:</strong></b><br>- JEX native backup format is tar-based, not human-readable without Joplin<br>- Web Clipper exists but is less polished than Evernote's<br>- No graph view or bidirectional links, flat notebook hierarchy only<br>- Editor UX is functional but lacks the polish of AFFiNE or Outline</div></div><p><strong>Verdict:</strong> The safest choice for Evernote/OneNote migrants who value data portability above all else. The plugin ecosystem and AI integration make it more capable than it looks, and the sync flexibility means it fits into virtually any existing self-hosted stack.</p><div class="kg-card kg-button-card kg-align-center"><a href="https://github.com/laurent22/joplin?ref=linuxhandbook.com" class="kg-btn kg-btn-accent">GitHub | Joplin</a></div><h2 id=""></h2><h2 id="final-recommendation">Final Recommendation</h2><p><strong>If you need a team knowledge base with AI today, use Outline.</strong> Its MCP integration for Claude is production-ready, its Markdown export keeps you unlockedin, and the managed cloud tier means you can start without infrastructure. After that, pick based on your primary use case:</p><ul><li>Team documentation: Outline (AI-first, MCP/Claude) or BookStack (simple, structured)</li><li>Developer teams wanting Git-backed docs → Wiki.js (Markdown in Git, then any AI agent can query it)</li><li>Personal knowledge + AI plugins: Obsidian (plain files + Ollama/Claude MCP) or Logseq (graph-first with local AI)</li><li>Notion replacement with built-in AI Copilot: AFFiNE (Claude/OpenAI/Gemini configured in admin)</li><li>Privacy-first with maximum data sovereignty: SiYuan (local-first, SQL-queryable) or Anytype (E2EE P2P sync)</li><li>Programmable personal knowledge base: TriliumNext (JavaScript scripting in notes, call AI APIs directly)</li><li>Evernote migrators: Joplin (ENEX import, E2EE sync, AI plugin available)</li></ul><p>If you have any of the self-hosted knowledge base tools not listed here, feel free to drop them in the <strong>comments!</strong></p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[How I Set Up AI Agent to Access My Kanban Task Board]]></title>
                    <description><![CDATA[Life becomes easier when I can ask my AI assistant to create and manage my Kanban task board. Here&#x27;s the set up I use.]]></description>
                    <link>https://linuxhandbook.com/blog/zeroclaw-ai-with-fizzy-automation/</link>
                    <guid isPermaLink="false">6a1172010fd5850001a06a9f</guid>

                        <category><![CDATA[AI 🤖🧠]]></category>
                        <category><![CDATA[blog]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 29 May 2026 08:09:54 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/05/ai-agent-with-kanban.webp" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/05/ai-agent-with-kanban.webp" alt="How I Set Up AI Agent to Access My Kanban Task Board"/> <p>I manage my project boards in <a href="https://www.fizzy.do/?ref=linuxhandbook.com">Fizzy</a>, Basecamp's clean, opinionated kanban tool, and I got tired of the same ritual: open the browser, navigate to the board, drag a card, close the tab, back to work,  repeat. The board lives in one app, my actual work lives somewhere else, and that context switching chips away at focus more than I'd like to admit. So I decided to fix it. Here's what I did.</p><h2 id="what-i-built">What I built</h2><p>Before going through this, I need you to know what Fizzy CLI and ZeroClaw is:</p><p>Fizzy CLI fixes half of that problem. It's an official command-line tool that lets you create cards, post comments, search your board, and manage attachments entirely from the terminal, no browser required. The other half of the problem gets solved by ZeroClaw.</p><p><a href="https://github.com/zeroclaw-labs/zeroclaw?ref=linuxhandbook.com">ZeroClaw</a> is an open-source agent runtime written in Rust, a single binary you install and configure. It connects to 30+ channels (Telegram, Discord, Matrix, email, or just your CLI), and is genuinely provider-agnostic: it talks to Anthropic, OpenAI, Gemini, Ollama, Groq, and about twenty other LLM backends, all from the same TOML config file. Everything runs on your machine, with your keys. This guide walks you through installing Fizzy CLI, authenticating it, and wiring it up to a running NanoClaw agent so you have end-to-end control of your boards from the terminal and from any messaging app.</p><p>Once you wire Fizzy into ZeroClaw as a shell tool, you can message your agent <strong><em>"add a card titled fix the auth bug to my backlog"</em></strong> and it just does it - from your phone, from Telegram, from wherever you happen to be.</p><p>I ended up installing Fizzy CLI, authenticating it, and wiring it to a ZeroClaw agent, and in this post I'm walking through exactly what I did, including the parts that didn't go smoothly.</p><h2 id="what-i-used">What I used</h2><ul>
<li>A Linux machine - I ran this on Ubuntu 22.04 LTS; Arch and Fedora should work fine too</li>
<li>An active <a href="https://fizzy.do/?ref=linuxhandbook.com">Fizzy</a> account with at least one board created</li>
<li>A Fizzy personal access token - get it from <strong>Profile → API Tokens</strong> in the Fizzy web UI</li>
<li>One of: a free <a href="https://aistudio.google.com/app/apikey?ref=linuxhandbook.com">Gemini API key from Google AI Studio</a>, or <a href="https://ollama.com/?ref=linuxhandbook.com">Ollama</a> running locally with a model pulled (e.g., <code>ollama pull qwen2.5:7b</code>)</li>
</ul>
<div class="kg-card kg-callout-card kg-callout-card-blue"><div class="kg-callout-emoji">💡</div><div class="kg-callout-text">The Gemini API has a generous free tier - 15 requests per minute and 250,000 tokens per minute on the free plan. That's more than enough for personal board management. If you already have Google One AI Premium, you get even higher limits in AI Studio.<br></div></div><h2 id="installing-fizzy-cli">Installing Fizzy CLI</h2><p>The fastest path on Linux is the official install script - it detected my architecture, pulled the right binary, and verified checksums automatically. I just ran:</p><pre><code class="language-bash">curl -fsSL https://raw.githubusercontent.com/basecamp/fizzy-cli/master/scripts/install.sh | bash</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-34.png" class="kg-image" alt="Installing fizzy-cli" loading="lazy" width="1281" height="695" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-34.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-34.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-34.png 1281w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Installing fizzy-cli</span></figcaption></figure><p>Complete the installation process, it will prompt for the PAT, generate it from your personal fizzy profile and enter it when prompted. </p><p>If you're on Arch Linux or Omarchy, it's available in the AUR:</p><pre><code class="language-bash">yay -S fizzy-cli
</code></pre><p>Once the installer finishes, confirm the binary is on your PATH:</p><pre><code class="language-bash">fizzy --version
</code></pre><p>You should see the version string printed cleanly. If your shell says <code>command not found</code>, the binary likely landed in <code>~/.local/bin</code> - make sure that's in your <code>PATH</code>.</p><pre><code class="language-bash">export PATH="/home/USERNAME/.local/bin:$PATH"</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-35.png" class="kg-image" alt="fizzy working in terminal" loading="lazy" width="741" height="266" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-35.png 600w, https://linuxhandbook.com/content/images/2026/05/image-35.png 741w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">fizzy working in terminal</span></figcaption></figure><h2 id="exploring-the-basic-commands">Exploring the Basic Commands</h2><p>First I ran this to confirm my identity and grab my account slug:</p><pre><code class="language-bash">fizzy identity show</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-36.png" class="kg-image" alt="Fizzy Identity information" loading="lazy" width="866" height="117" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-36.png 600w, https://linuxhandbook.com/content/images/2026/05/image-36.png 866w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Fizzy Identity information</span></figcaption></figure><p>It will show all the identity information along with your <code>slug id</code> , use that id and run the following command:</p><pre><code class="language-bash">fizzy board list --account "slug id"</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-37.png" class="kg-image" alt="Fizzt listing boards " loading="lazy" width="962" height="99" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-37.png 600w, https://linuxhandbook.com/content/images/2026/05/image-37.png 962w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Fizzt listing boards </span></figcaption></figure><p>Here is a list of boards with their names. As I have more accounts, I need to mention the account ID for commands.</p><p>Try more commands like:</p><pre><code class="language-bash"># List cards on your default board
fizzy card list

# View details of a specific card
fizzy card show 2

# Search across your board
fizzy search "authentication bug"

# Add a comment to a card
fizzy comment create --card 42 --body "Reproduced on staging."</code></pre><p>It will display the cards, a specific card, searching across the board, etc.</p><p>Also, if you use <code>jq</code> the output will be in formatted so that you can clearly make sense of the results. </p><pre><code class="language-bash">fizzy card list --account "id" | jq</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-38.png" class="kg-image" alt="Formatted JSON output of fizzy" loading="lazy" width="1095" height="520" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-38.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-38.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-38.png 1095w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Formatted JSON output of fizzy</span></figcaption></figure><h2 id="installing-zeroclaw">Installing ZeroClaw</h2><p>ZeroClaw ships as a single Rust binary. When the install script asked me whether I wanted a prebuilt binary or a source build, I went with prebuilt - it was done in seconds:</p><pre><code class="language-bash">curl -fsSL https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/master/install.sh | bash</code></pre><p>When it finishes, confirm it's available:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-39.png" class="kg-image" alt="ZeroClaw installed" loading="lazy" width="1275" height="552" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-39.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-39.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-39.png 1275w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">ZeroClaw installed</span></figcaption></figure><p>When it finishes, confirm it's available:</p><pre><code class="language-bash">zeroclaw --version</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-40.png" class="kg-image" alt="ZeroClaw installed and working" loading="lazy" width="693" height="100" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-40.png 600w, https://linuxhandbook.com/content/images/2026/05/image-40.png 693w"><figcaption><span style="white-space: pre-wrap;">ZeroClaw installed and working</span></figcaption></figure><p>ZeroClaw has no runtime dependencies. No Docker, no Node.js, no Python. The binary is self-contained.</p><h2 id="running-the-onboarding-wizard">Running the Onboarding Wizard</h2><p>ZeroClaw's config lives at <code>~/.zeroclaw/config.toml</code>. Running the onboarding wizard creates it for you:  </p><pre><code class="language-bash">zeroclaw onboard</code></pre><p>The wizard walked me through four things:</p><ul>
<li>LLM provider - which model backend to use</li>
<li>API key or endpoint - your credentials for that provider</li>
<li>At least one channel - the built-in <code>cli</code> channel works for now; you can add Telegram or Discord later</li>
<li>Agent alias - a name for your agent entry in the config</li>
</ul>
<p>For the LLM provider step, enter <code>gemini</code> and paste your Google AI Studio API key when prompted. If you're using Ollama locally, choose <code>ollama</code> instead, the wizard will ask for your model name (e.g., <code>qwen2.5:7b</code>) and leave the endpoint at the default <code>http://localhost:11434</code>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-41.png" class="kg-image" alt="ZeroClaw onboard setup" loading="lazy" width="1041" height="718" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-41.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-41.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-41.png 1041w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">ZeroClaw onboard setup</span></figcaption></figure><p>There is vast support for various channels: </p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-42.png" class="kg-image" alt="Supported channel in ZeroClaw" loading="lazy" width="1041" height="718" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-42.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-42.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-42.png 1041w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Supported channel in ZeroClaw</span></figcaption></figure><p>Then there will be an option to select a memory backend, select the appropriate one as per your need:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-43.png" class="kg-image" alt="Memory backend filter " loading="lazy" width="1041" height="718" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-43.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-43.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-43.png 1041w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Memory backend filter </span></figcaption></figure><p><strong>the <code>model_provider</code> field on your agent is the only place you specify which LLM to use </strong>in your <code>~/.zeroclaw/config.toml</code> . Swapping from Gemini to Ollama to Groq is a one-line change.</p><h2 id="registering-fizzy-as-a-shell-tool">Registering Fizzy as a Shell Tool</h2><p>ZeroClaw's shell tool lets the agent run any command on your machine. To give it access to <code>fizzy</code>, add a tool entry to your config and give the agent permission to use it:</p><p>Add "fizzy" at commands in config, it will look like this:</p><pre><code class="language-toml">allowed_commands = [
    "git",
    "npm",
    "cargo",
    "ls",
    "cat",
    "grep",
    "find",
    "echo",
    "pwd",
    "wc",
    "head",
    "tail",
    "date",
    "df",
    "du",
    "uname",
    "uptime",
    "hostname",
    "python",
    "python3",
    "pip",
    "node",
    "free",
    "fizzy"
]</code></pre><p>One thing that caught me off guard: Fizzy has to be explicitly listed in allowed_commands or ZeroClaw's security layer blocks it, even if you've defined the tool entry. I learned this the hard way after getting a "Command not allowed by security policy" error.</p><p>Then add the new entry in the config: </p><pre><code class="language-toml">[tools.shell.fizzy]
description = "Manage Fizzy kanban boards via the Fizzy CLI"
command     = "fizzy"
allowed_args = ["board", "card", "comment", "search", "commands"]

[agents.assistant]
model_provider = "gemini-cli"
risk_profile   = "supervised"
tools          = ["shell.fizzy"]</code></pre><p>Follow the similar steps for ollama setup too.</p><p>Check once the parameters as per your model are selected. Whichever path you followed, the wizard ends with a quick live chat to confirm your agent is working. You'll see a prompt like:</p><h2 id="confirming-the-agent-responds">Confirming the Agent Responds</h2><p><br>Whichever path you followed, Gemini or Ollama, start the agent to confirm everything is working:</p><pre><code class="language-bash">zeroclaw agent
</code></pre><p>You should get a CLI chat prompt. Type a test message:</p><pre><code class="language-bash">Hello, are you there?</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-44.png" class="kg-image" alt="Agent responding to the model" loading="lazy" width="795" height="501" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-44.png 600w, https://linuxhandbook.com/content/images/2026/05/image-44.png 795w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Agent responding to the model</span></figcaption></figure><p>If it responds, you're done. If you are using a local LLM and see an error like <strong>model requires more system memory than is available</strong>, your chosen model is too large for the free RAM currently available. Fix it by pulling the 1B model instead and updating your config:</p><pre><code class="language-bash">ollama pull llama3.2:1b
# Then edit ~/.zeroclaw/config.toml and set: model = "llama3.2:1b"</code></pre><p>If it responds, your LLM backend is wired up correctly. Total setup time is about five minutes. Once the agent responds, you're ready to wire in Fizzy.</p><h2 id="verifying-the-fizzy-integration">Verifying the Fizzy Integration</h2><p> I asked the agent something simple to confirm the wiring:</p><pre><code class="language-bash">Use the fizzy shell tool to run: fizzy card list</code></pre><p>ZeroClaw called fizzy card list, parsed the JSON output, and summarized my cards in natural language. In supervised mode it asked for approval first - I pressed Y, and it worked.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-45.png" class="kg-image" alt="Fizzy cli with zeroclaw agent" loading="lazy" width="969" height="688" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-45.png 600w, https://linuxhandbook.com/content/images/2026/05/image-45.png 969w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Fizzy cli with zeroclaw agent</span></figcaption></figure><p>One tip I'd pass on: be explicit in your prompt. "List the cards on my board" can confuse the agent into doing a web search instead. Saying "use the fizzy shell tool to run..." removes the ambiguity entirely.</p><p>From there, you can do things like:</p><pre><code class="language-bash">Create a card titled "Review auth middleware" on my board.
Add a comment to first card saying I'll look at this after the release.
Search for anything related to "database migration".</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-46.png" class="kg-image" alt="Agent adding comment to respective cards" loading="lazy" width="974" height="385" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-46.png 600w, https://linuxhandbook.com/content/images/2026/05/image-46.png 974w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Agent adding comment to respective cards</span></figcaption></figure><h2 id="what-to-explore-next">What to Explore Next</h2><p>We have covered how to setup and get started with Fizzy CLI with ZeroClaw agent, but you can explore more things like: </p><p><strong>Per-repo board context</strong>: Create a <code>.fizzy.yaml</code> in any project directory with a <code>board</code> field. When you're inside that directory, <code>fizzy card list</code> will default to that project's board automatically, no flags needed.<br><br><strong>Swap the model</strong>: If Gemini starts hitting rate limits or you want to try something faster, add a second provider entry and change the <code>model_provider</code> alias on your agent. <br><br><strong>Add a second agent</strong>: ZeroClaw supports multiple <code>[agents.*]</code> entries pointing at different providers. You could run a lightweight Ollama model for quick card operations and route heavier reasoning tasks to Gemini, all from the same ZeroClaw instance.</p><h2 id="wrapping-up">Wrapping Up</h2><p>What I like most about this setup is the flexibility. ZeroClaw doesn't care which LLM I use. I started with Ollama locally, hit tool-calling limitations with smaller models, and switched to Gemini's free tier without touching anything except two lines in the config. </p><p>The context switching problem is what motivated all of this, and I think this setup genuinely solves it. Having Fizzy in the terminal is one improvement. It took me an afternoon to get everything right. The time it saves should compound from here.</p><p><strong>Do visit the repos and try it yourself!</strong></p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[How I Supercharged My Personal Knowledge Base with Local AI]]></title>
                    <description><![CDATA[Local notes. Local AI. Combine them and you have your own personal AI that answers based on your notes.]]></description>
                    <link>https://linuxhandbook.com/blog/personal-knowledge-base-with-local-ai/</link>
                    <guid isPermaLink="false">6a0da0870fd5850001a06639</guid>

                        <category><![CDATA[blog]]></category>
                        <category><![CDATA[AI 🤖🧠]]></category>

                        <dc:creator><![CDATA[Yash Kiran Patil]]></dc:creator>

                    <pubDate>Fri, 22 May 2026 15:33:07 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/05/knowledgebase-with-local-ai.webp" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/05/knowledgebase-with-local-ai.webp" alt="How I Supercharged My Personal Knowledge Base with Local AI"/> <p>I have thousands of notes. <a href="https://obsidian.md/?ref=linuxhandbook.com">Obsidian</a> vaults, random Markdown files, half-finished research documents, meeting notes from three years ago. And for the longest time, they just sat there, searchable by filename, searchable by keyword, but never actually <strong><em>understood</em></strong>.</p><p>Then one evening I thought, What if I could just <strong><em>ask</em></strong> my notes a question?</p><p>You might be thinking the ChatGPT already does that, but it does not have access to your local workspace. You need to upload all the files you want to discover, not a cloud service that makes me wonder what happens to my data. </p><p>Instead, I thought of using just a small AI model, completely running on my own machine. I thought that it could handle these situations, which could read my notes and answer questions about them.</p><p>I tried it. It worked. And I have not stopped using it since. No GPU required, no monthly subscription, no data leaving my machine.</p><h2 id="the-problem-with-the-huge-pile-notes-and-how-ai-fixes-it">The problem with the huge pile notes (and how AI fixes it)</h2><p>Here is the honest truth: most knowledge management systems fail not at <strong><em>storing</em></strong> information, but at <strong><em>retrieving</em></strong> it. You spend time writing the note. You tag it. You organize it. And then, three weeks later, you cannot find it because you cannot remember what you called it or which folder you put it in.<br><br>Traditional search is keyword-based. It finds notes that contain the word "containerization", but it cannot answer "how do I deploy a container in a restricted environment?" by synthesizing your notes on Docker, your notes on firewalls, and that one Markdown file you wrote during a workshop.<br><br>That synthesis is exactly what a local AI model can do.</p><p>The technique is called <strong>RAG (Retrieval-Augmented Generation)</strong>. The AI does not memorize your notes. Instead, it reads them at query time, pulls the most relevant chunks, and uses them as context to generate an answer. </p><p>Think of it as giving the AI your notes as a reference book every time you ask a question.</p><h2 id="what-i-used-in-this-setup">What I used in this setup</h2><p>A fully local setup with three components:</p><ul><li>Ollama: Runs LLM models locally on your CPU (or GPU if you have one)</li><li>A lightweight embedding model: Converts notes into searchable vectors</li><li>AnythingLLM (or Open WebUI): UI that connects your notes to the model</li></ul><p>Everything runs on the local machine. The notes never leave the computer. The model does not even need an internet connection once it is downloaded.</p><h2 id="choosing-the-right-model">Choosing the right model</h2><p>This is the part most guides get wrong. They recommend a 7B parameter model. You try to run it on your laptop, and it takes 90 seconds to answer a simple question.<br><br>For a knowledge base assistant that runs comfortably on a CPU, even a mid-range one, the sweet spot is <strong>Phi-3 Mini</strong> (3.8B parameters from Microsoft) or <strong>Gemma 2B</strong> (from Google). Both are surprisingly capable for question-answering tasks, and they run well with 8 GB of RAM.</p><p>You can also refer to this <a href="https://itsfoss.com/testing-local-llms-without-gpu/?ref=linuxhandbook.com" rel="noreferrer">article</a> for information about models running on CPU.<br><br><strong>My recommendation</strong>: <strong>phi3:mini,</strong> it is fast, accurate, and was specifically fine-tuned for instruction-following tasks like Q&amp;A. It is the model I use for my own notes.</p><div class="kg-card kg-callout-card kg-callout-card-blue"><div class="kg-callout-emoji">📋</div><div class="kg-callout-text">These tests were done on a machine with 16 GB RAM and no dedicated GPU. Phi3:mini took roughly 5–8 seconds to respond to most queries. I find that acceptable for a personal knowledge base.</div></div><h2 id="part-1-setting-up-ollama">Part 1: Setting up Ollama</h2><p>Ollama is the engine that lets you run LLMs locally. It is a single binary, and the installation is one command.</p><h3 id="step-1-install-ollama">Step 1: Install Ollama</h3><pre><code class="language-bash">curl -fsSL https://ollama.com/install.sh | sh</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-18.png" class="kg-image" alt="Ollama installed through curl." loading="lazy" width="798" height="498" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-18.png 600w, https://linuxhandbook.com/content/images/2026/05/image-18.png 798w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Ollama installed through curl</span></figcaption></figure><p>Once installed, verify it is running:</p><pre><code class="language-bash">ollama --version</code></pre><p>Ollama starts a background service automatically. You can check its status:</p><pre><code class="language-bash">systemctl status ollama</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-19.png" class="kg-image" alt="Ollama version and running status." loading="lazy" width="798" height="498" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-19.png 600w, https://linuxhandbook.com/content/images/2026/05/image-19.png 798w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Ollama version and running status</span></figcaption></figure><h3 id="step-2-pull-the-model">Step 2: Pull the model</h3><p>Now download the model. For the CPU-friendly, low-resource setup I recommend:</p><pre><code class="language-bash">ollama pull phi3:mini</code></pre><p>This will download about 2.3 GB. Grab a coffee. If you have more RAM available (16 GB+) and want slightly better answers, you can also try:</p><pre><code class="language-bash">ollama pull gemma2:2b</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-20.png" class="kg-image" alt="pulling phi3:mini model through ollama." loading="lazy" width="740" height="289" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-20.png 600w, https://linuxhandbook.com/content/images/2026/05/image-20.png 740w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">pulling phi3:mini model through ollama</span></figcaption></figure><p>To verify the model is installed and working, test it immediately:</p><pre><code class="language-bash">ollama run phi3:mini "Explain what the ITIM subject is all about."</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-21.png" class="kg-image" alt="model giving answer to the question." loading="lazy" width="793" height="599" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-21.png 600w, https://linuxhandbook.com/content/images/2026/05/image-21.png 793w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">model giving answer to the question</span></figcaption></figure><p>If you see a coherent response, the model is working. We can move on.</p><h2 id="part-2-setting-up-anythingllm-as-the-notes-interface">Part 2: Setting up AnythingLLM as the notes interface</h2><p><a href="https://anythingllm.com/?ref=linuxhandbook.com">AnythingLLM</a> is a self-hosted, open-source application that lets you upload documents, point it at a folder, and query them through a clean chat interface. It handles the chunking, embedding, and retrieval pipeline so you do not have to set up a vector database yourself.</p><h3 id="step-1-install-anythingllm-via-docker">Step 1: Install AnythingLLM via Docker</h3><pre><code class="language-bash">docker pull mintplexlabs/anythingllm</code></pre><p>Create a directory to store AnythingLLM's data (your note indexes will live here):</p><pre><code class="language-bash">mkdir -p ~/.anythingllm</code></pre><p>Now run it:</p><pre><code class="language-bash">docker run -d \
  --network=host \
  --cap-add SYS_ADMIN \
  -v $HOME/.anythingllm:/app/server/storage \
  -e STORAGE_DIR="/app/server/storage" \
  --name anythingllm \
  mintplexlabs/anythingllm</code></pre><p>Verify the container is running:</p><pre><code class="language-bash">docker ps | grep anythingllm</code></pre><figure class="kg-card kg-image-card"><img src="https://linuxhandbook.com/content/images/2026/05/image-25.png" class="kg-image" alt="" loading="lazy" width="822" height="246" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-25.png 600w, https://linuxhandbook.com/content/images/2026/05/image-25.png 822w" sizes="(min-width: 720px) 720px"></figure><p>Now open your browser and navigate to: <code>http://localhost:3001</code></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-23.png" class="kg-image" alt="AnythingLLM GUI interface" loading="lazy" width="1920" height="1080" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-23.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-23.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/05/image-23.png 1600w, https://linuxhandbook.com/content/images/2026/05/image-23.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">AnythingLLM GUI interface</span></figcaption></figure><p>You will see the AnythingLLM setup wizard.</p><h3 id="step-2-connecting-anythingllm-to-the-local-ollama-model">Step 2: Connecting AnythingLLM to the local Ollama model</h3><p>During setup, AnythingLLM will ask you to choose an LLM provider. Select <strong>Ollama</strong> from the list.</p><ul><li>Ollama Base URL: <a href="http://localhost:11434/?ref=linuxhandbook.com">http://localhost:11434</a></li><li>Model: Select <code>phi3:mini</code> from the dropdown (it will auto-detect your installed models)</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-24.png" class="kg-image" alt="ollama setup for AnythingLLM" loading="lazy" width="1920" height="1080" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-24.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-24.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/05/image-24.png 1600w, https://linuxhandbook.com/content/images/2026/05/image-24.png 1920w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">ollama setup for AnythingLLM</span></figcaption></figure><p>For the embedding model, which converts your notes into searchable vectors, stay within Ollama and choose:</p><pre><code class="language-bash">ollama pull nomic-embed-text</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-26.png" class="kg-image" alt="Select the model from the ollama" loading="lazy" width="928" height="931" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-26.png 600w, https://linuxhandbook.com/content/images/2026/05/image-26.png 928w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Select the model from the ollama</span></figcaption></figure><p><code>nomic-embed-text</code> is tiny (274 MB), fast, and produces excellent embeddings for English-language text. It is purpose-built for document retrieval, exactly what we need.</p><h2 id="part-3-importing-the-notes">Part 3: Importing the notes</h2><p>Let's move to connect knowledgebase with AI.</p><p>In AnythingLLM, a <strong>workspace</strong> is a scoped knowledge base. Think of it like a project folder; you can have one workspace for your work notes, one for personal research, one for a specific book you are reading.</p><ol><li>Click <strong>New Workspace</strong> and give it a name (e.g., "My Notes")</li><li>Click the <strong>Upload Documents</strong> button</li><li>Drag and drop your Markdown files, PDFs, or text files into the upload area</li></ol><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-27.png" class="kg-image" alt="Adding local notes to the workspace" loading="lazy" width="1860" height="968" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-27.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-27.png 1000w, https://linuxhandbook.com/content/images/size/w1600/2026/05/image-27.png 1600w, https://linuxhandbook.com/content/images/2026/05/image-27.png 1860w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Adding local notes to the workspace</span></figcaption></figure><p>AnythingLLM will split your notes into chunks (typically 500–1000 tokens each) then generate an embedding vector for each chunk using <code>nomic-embed-text</code>  and then store everything in a local vector database (LanceDB, stored in <code>~/.anythingllm</code>).</p><p>This process takes a minute or two, depending on how many notes you have. </p><div class="kg-card kg-callout-card kg-callout-card-green"><div class="kg-callout-emoji">💡</div><div class="kg-callout-text">AnythingLLM supports Markdown, PDF, plain text, DOCX, and even web page scraping. If your notes live in Obsidian, just point it at your vault folder. If they are in Notion, export them as Markdown first.</div></div><h2 id="part-4-querying-the-notes">Part 4: Querying the notes</h2><p>Now is the time to make the most of the notes by using AI to question it.</p><p>Now the satisfying part. Click on your workspace, type a question in the chat box, and press Enter. To truly see the power of local AI, ask something that ChatGPT could never possibly know. For example, if you uploaded your home server notes:</p><pre><code class="language- ">According to my server migration notes, why did I decide to switch from Nginx Proxy Manager to Traefik, and what IP address is my Pi-hole running on?</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-30.png" class="kg-image" alt="LLM answering form my personal notes" loading="lazy" width="1489" height="598" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-30.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-30.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-30.png 1489w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">LLM answering form my personal notes</span></figcaption></figure><p>Notice that AnythingLLM shows you <strong><em>which notes it used</em></strong> to generate the answer. This is the RAG process in action; ChatGPT can tell you what <a href="https://traefik.io/traefik?ref=linuxhandbook.com">Traefik</a> is, but only <strong><em>your</em></strong> local AI knows that you switched to it because you were tired of managing SSL certificates manually, and that your Pi-hole is at <code>192.168.1.100</code>.</p><p>Try a few more highly personalized queries:</p><pre><code class="language-bash">What is the Wi-Fi password for the guest network at my parents' house, and where is the router hidden?</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-33.png" class="kg-image" alt="LLM asnwering from my home-lab notes" loading="lazy" width="1142" height="374" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-33.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-33.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-33.png 1142w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">LLM asnwering from my home-lab notes</span></figcaption></figure><pre><code>When are my parents' birthdays this year, and what exactly did I decide to buy for my brother to fix his noisy keyboard?</code></pre><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://linuxhandbook.com/content/images/2026/05/image-32.png" class="kg-image" alt="LLM anwering from my family notes" loading="lazy" width="1270" height="673" srcset="https://linuxhandbook.com/content/images/size/w600/2026/05/image-32.png 600w, https://linuxhandbook.com/content/images/size/w1000/2026/05/image-32.png 1000w, https://linuxhandbook.com/content/images/2026/05/image-32.png 1270w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">LLM anwering from my family notes</span></figcaption></figure><p>Each answer is grounded in your notes. The model is not making things up from its training data; it is synthesizing from what <strong><em>you</em></strong> wrote, which means the answers are accurate to your actual knowledge and context.</p><h2 id="%F0%9F%92%A1-keeping-things-running-optional">💡 Keeping things running (optional)</h2><p>If you want AnythingLLM to start automatically with your system:</p><pre><code class="language-bash">docker update --restart unless-stopped anythingllm
</code></pre><p>And Ollama is already managed as a systemd service, so it will start on boot automatically.<br>To update the model later if a newer version is released:</p><pre><code class="language-bash">ollama pull phi3:mini
</code></pre><p>Ollama handles versioning for you.</p><h2 id="my-experience-so-far">My experience (so far)</h2><p>I have been using this setup for a few months now. Here is what changed for me:<br><br><strong>Before:</strong> I would search my notes, find five partial answers in different files, open each one, manually cross-reference them, and then write a synthesis myself.<br><strong>After:</strong> I ask a question. In 5–8 seconds, I get a synthesized answer with the source notes cited. I open the sources to verify. Done.</p><p>The model is not perfect - Phi3:mini will occasionally miss nuance or misread a technical term from a note. But for a free, offline, CPU-only setup, it is genuinely impressive.</p><p>What it is excellent at:</p><ul><li>Summarizing notes on a topic</li><li>Finding connections between notes you forgot existed</li><li>Drafting a starting point for new writing based on your existing research</li><li>Answering "what did I write about X" questions instantly</li></ul><p>What to watch out for:</p><ul><li>Very long PDFs (&gt;50 pages) may need to be split before uploading</li><li>Code blocks in Markdown sometimes confuse the chunking</li><li>Plain prose notes work best</li><li>The model will occasionally "hallucinate" if your notes are thin on a topic; always verify</li></ul><p>The entire stack is free, open-source, and runs completely offline. Once set up, it requires zero maintenance and adds nothing to your monthly cloud bill.</p><h2 id="conclusion">Conclusion</h2><p>The popular mental model of AI is "Cloud service that reads your data". This does not have to be the case and for personal notes, it arguably <strong><em>should not</em></strong> be.<br><br>A small, open model running locally on your laptop is good enough for synthesizing your own knowledge base. It will not beat GPT-4 at coding challenges or creative writing. But for the task of "help me navigate and synthesize the notes <strong><em>I</em></strong> already wrote", it does the job well.</p><p>Your notes are already doing half the work. A local AI just helps you finish the other half.</p>]]></content:encoded>
                </item>
                <item>
                    <title><![CDATA[LHB Linux Digest #26.07: New ELK Stack Course, Linux in Browser, Best YouTube Channels for DevOps and More]]></title>
                    <description><![CDATA[ELK Stack course is here.]]></description>
                    <link>https://linuxhandbook.com/newsletter/26-07/</link>
                    <guid isPermaLink="false">69e7025b918745000127fa6a</guid>

                        <category><![CDATA[Newsletter]]></category>

                        <dc:creator><![CDATA[Abhishek Prakash]]></dc:creator>

                    <pubDate>Tue, 19 May 2026 19:00:48 +0530</pubDate>

                        <media:content url="https://linuxhandbook.com/content/images/2026/05/lhb-newsletter.png" medium="image"/>

                    <content:encoded><![CDATA[<img src="https://linuxhandbook.com/content/images/2026/05/lhb-newsletter.png" alt="LHB Linux Digest #26.07: New ELK Stack Course, Linux in Browser, Best YouTube Channels for DevOps and More"/> <p>Our 20th course is now available 🍾</p><p>This one is about log management with ELK stack. </p><p>Actually, it's not ELK. Instead of Elastic Search, we used OpenSearch. The course gives you the basics along with sample labs to follow.</p><p>This is available for Pro members only. Not a Pro member yet? <a href="https://linuxhandbook.com/#/portal/signup">Upgrade to Pro membership</a> and access all 20 courses, 6 eBooks and every other premium content.</p><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://linuxhandbook.com/courses/opensearch/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Log Management Course (ELK Stack with OpenSearch)</div><div class="kg-bookmark-description">Stop SSH-ing into servers at 2 AM. Learn to centralize, search, and visualize logs across your entire infrastructure using fully open-source tools.</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://linuxhandbook.com/content/images/icon/Linux-Handbook-New-Logo-202.png" alt=""><span class="kg-bookmark-author">Linux Handbook</span><span class="kg-bookmark-publisher">Yash Kiran Patil</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://linuxhandbook.com/content/images/thumbnail/elk-stack-course.png" alt="" onerror="this.style.display = 'none'"></div></a></figure><p>The next course in our pipeline is GitOps video course. After that, we are also thinking of creating a course around using AI assistance in typical DevOps scenarios. I'll keep you posted.</p>

<aside data-sx-content-cta class="relative p-0.5 js-toc-ignore">
        <div data-sx-content-cta-blur class="absolute w-full start-0 -top-0.5 -translate-y-full bg-linear-to-b to-70% from-black/0 to-background dark:to-background-dark pointer-events-none">
            &nbsp; <br> &nbsp; <br> &nbsp;
        </div>

    <div class="relative flex flex-col items-center text-center w-full px-4 py-10 lg:px-10 text-base rounded-xl sm:rounded-2xl">
        <div class="dark:hidden absolute -inset-px -z-10 rounded-xl bg-white shadow-pretty-sm transition-shadow duration-200"></div>
        <span class="hidden dark:block absolute -z-10 -inset-px rounded-inherit bg-radial-[50%_100%_at_50%_0%] from-white/10"></span>        
        <div class="hidden dark:block absolute -inset-px -z-10 rounded-xl bg-white/1 transition-colors duration-500 inset-shadow-md inset-shadow-white/2"></div>
        
        <div class="hidden dark:block absolute -z-10 -inset-0.5 mask-to-b mask-position-to-70% mask-opacity-to-50%">
            <div class="hidden dark:block absolute -z-10 inset-px rounded-xl border border-gray-50/10"></div>
        </div>                                                
        <div class="hidden dark:block absolute -z-10 -inset-px rounded-xl border border-gray-50/5 opacity-0"></div>

        <div class="hidden dark:block absolute -top-px start-1/2 -translate-x-1/2 w-1/2 h-px bg-linear-to-r from-white/0 to-white/0 via-gray-400/50"></div>

        <h2 class="text-gray-900 dark:text-gray-100 text-pretty text-xl sm:text-2xl leading-snug tracking-tight">




                                        <span class="hidden first:inline">
                        This post is for subscribers only
                    </span>                

        </h2>

            <button data-portal="signup" class="mt-7 px-4 py-2.5 font-semibold text-sm text-center text-accent-contrast bg-primary rounded-full shadow-primary dark:shadow-none dark:drop-shadow-primary-sm hover:opacity-90 transition-opacity duration-200">
                Subscribe now
            </button>
            <p class="mt-5 text-sm">
                Already have an account? <button data-portal="signin" class="block sm:inline mx-auto font-medium underline decoration-primary decoration-2 underline-offset-2 hover:text-primary transition-colors duration-200">Sign in</button>
            </p>
    </div>
</aside>
]]></content:encoded>
                </item>
    </channel>
</rss>