<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Michael</title>
    <description>The latest articles on DEV Community by Michael (@divsmart).</description>
    <link>https://dev.to/divsmart</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3578862%2F93332c67-cb5c-48f9-91f8-c331137bc13e.jpg</url>
      <title>DEV Community: Michael</title>
      <link>https://dev.to/divsmart</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/divsmart"/>
    <language>en</language>
    <item>
      <title>KDE Plasma 6.3 Didn’t Add Features—It Removed Friction</title>
      <dc:creator>Michael</dc:creator>
      <pubDate>Wed, 10 Dec 2025 13:55:02 +0000</pubDate>
      <link>https://dev.to/divsmart/kde-plasma-636-didnt-add-features-it-removed-friction-2p82</link>
      <guid>https://dev.to/divsmart/kde-plasma-636-didnt-add-features-it-removed-friction-2p82</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsmb9r6m38w2b7iaz5xmq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsmb9r6m38w2b7iaz5xmq.png" alt="How I Get Work Done" width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;How a “boring” desktop quietly transformed my workflow, accessibility, and trust in my system&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
I didn’t switch to KDE Plasma 6.3.6 for new features—I switched as an experiment, and it immediately stopped getting in my way.&lt;/p&gt;

&lt;p&gt;Coming from Cinnamon, I was tired of customizing like I am walking on eggshells, dated X11 behavior, and fighting my desktop to make the smallest change. Plasma surprised me with thoughtful time‑saving features: Dolphin split file views, terminals that follow directories, persistent file transfer notifications, pixel‑level zoom, excellent dark mode integration, and accessibility features that actually respect eye strain.&lt;/p&gt;

&lt;p&gt;Even on Debian’s “older” Plasma, the experience feels smoother, and more intentional. For once, I finally stopped tweaking—not because I couldn’t, but because it was no longer necessary.&lt;/p&gt;

&lt;h2&gt;
  
  
  I Didn’t Upgrade for the Shiny New Thing
&lt;/h2&gt;

&lt;p&gt;I’m on Debian 13 with KDE, so it's KDE Plasma 6.3.6—not the version currently in the headlines. I kept reading reviews that described recent Plasma point releases as “nothing exciting, boring,” so my expectations were low.&lt;/p&gt;

&lt;p&gt;What I didn’t expect was that this desktop would quietly and thoroughly revolutionize the way I work.&lt;/p&gt;

&lt;p&gt;I didn’t realize how much energy I was wasting &lt;em&gt;managing&lt;/em&gt; my desktop until Plasma stopped demanding extra effort from me.&lt;/p&gt;




&lt;h2&gt;
  
  
  From Cinnamon Fatigue to Plasma Stability
&lt;/h2&gt;

&lt;p&gt;I came from Cinnamon. It worked—until it broke.&lt;/p&gt;

&lt;p&gt;Over time, every small change felt like a risk. Adjust one thing, accidentally break another. Eventually, I stopped customizing entirely, not because I was satisfied, but because I didn’t trust the system to stay stable if I touched it.&lt;/p&gt;

&lt;p&gt;There was also the growing gap around X11. I’m not a gamer, but I couldn’t ignore how much smoother people reported Wayland to be. Cinnamon began to feel dated, and that friction showed up everywhere: animations, window behavior, small visual inconsistencies that add up over long sessions.&lt;/p&gt;

&lt;p&gt;Plasma felt different. Predictable. Intentional.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flm7edy43emyq2gktzo3p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flm7edy43emyq2gktzo3p.png" alt="A typical Plasma 6 session: nothing fancy, just my getting work done" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sure, it's busy. But it reflects that I'm a busy person. &lt;/p&gt;

&lt;h2&gt;
  
  
  Dolphin Is Where the Time Savings Started
&lt;/h2&gt;

&lt;p&gt;The first real shift came from Dolphin, KDE’s file manager.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pressing &lt;code&gt;F3&lt;/code&gt; instantly gives you a split view&lt;/li&gt;
&lt;li&gt;The embedded terminal always opens in the &lt;em&gt;current directory&lt;/em&gt;, no matter how deeply nested it is&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That alone saved a surprising amount of typing and context switching. I stopped managing files and started &lt;strong&gt;moving through them&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;File operations became part of my workflow instead of interruptions. It sounds small—until you realize how often you deal with files.&lt;/p&gt;




&lt;h2&gt;
  
  
  Pixel‑Perfect Isn’t Marketing Hype—It's Real
&lt;/h2&gt;

&lt;p&gt;I heard a podcast about KDE’s “pixel‑perfect” strategy and assumed it was marketing hype.&lt;/p&gt;

&lt;p&gt;Then I pressed &lt;code&gt;Meta + + +&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fekytslrmiwoqeoa0hxeg.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fekytslrmiwoqeoa0hxeg.jpg" alt="Pixel Perfect" width="800" height="231"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can zoom anywhere on the screen down to the pixel level—instantly and smoothly. Not flashy, just helpful.&lt;/p&gt;

&lt;p&gt;That discovery pushed me to dig out my old Wacom Intuos Pro tablet that had been collecting dust. KDE’s recent attention to designers paid off immediately: sensible defaults, excellent input handling, and none of the usual friction I expected.&lt;/p&gt;

&lt;p&gt;At that point, the hype stopped sounding like hype.&lt;/p&gt;




&lt;h2&gt;
  
  
  Accessibility, Dark Mode, and a Flatpak Lesson
&lt;/h2&gt;

&lt;p&gt;I’ve had three eye surgeries. Dark mode isn’t a choice—it's a necessity.&lt;/p&gt;

&lt;p&gt;Plasma nailed this.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scribus: perfectly themed
&lt;/li&gt;
&lt;li&gt;LibreOffice: matched the system without effort&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then I installed my must‑have email client: Evolution.&lt;/p&gt;

&lt;h2&gt;
  
  
  Blinding White
&lt;/h2&gt;

&lt;p&gt;I had installed the Flatpak version to get newer features. On a hunch, I switched to the Debian package instead—and instantly, Evolution followed the system’s dark mode and theming perfectly.&lt;/p&gt;

&lt;p&gt;That single change led to a few minutes of font tuning for readability and size, fractional scaling. The result was dramatic: less eye strain, more comfort, and a setup that actually respected my limits.&lt;/p&gt;

&lt;p&gt;My workflow didn’t just improve—it became sustainable.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Small Detail That Completely Sold Me
&lt;/h2&gt;

&lt;p&gt;While cleaning up years of duplicate directories—largely created out of fear of losing something important—as soon as I discovered Dolphin, I put it to the test: a massive file operation that I knew would take hours.&lt;/p&gt;

&lt;p&gt;Out of habit, I launched other applications and continued working, fully expecting the file transfer dialog to get buried or disappear.&lt;/p&gt;

&lt;p&gt;But no, Plasma did something so quiet and thoughtful that it caught me off guard.&lt;/p&gt;

&lt;p&gt;The file transfer notification &lt;em&gt;moved itself&lt;/em&gt; to stay visible as new windows opened. No hunting. No anxiety. It simply stayed where my eyes already were while I worked away.&lt;/p&gt;

&lt;p&gt;That sounds small on paper, but when you’re trusting the system with hours of file operations, it’s priceless. It felt less like managing a desktop and more like collaborating with one.&lt;/p&gt;




&lt;h2&gt;
  
  
  Hidden Gems I Didn’t Discover All at Once
&lt;/h2&gt;

&lt;p&gt;One thing Plasma does exceptionally well is not advertising everything it can do. Many of its most powerful features aren’t apparent until you need them—and they have been there all the time. Check out the hotkeys in Dolphin. &lt;/p&gt;

&lt;p&gt;A few that stood out to me over time:&lt;/p&gt;

&lt;p&gt;KRunner (Alt + Space): Far more than an app launcher. It handles calculations, unit conversions, quick searches, clipboard access, and even system actions. Once you start using it, you will quickly discover how many tools it quietly replaces.&lt;/p&gt;

&lt;p&gt;Window Rules: Plasma lets you define how individual applications behave—size, position, focus behavior, virtual desktop, even whether they always open maximized. This turns the window manager into something predictable instead of reactive.&lt;/p&gt;

&lt;p&gt;Activities (not just virtual desktops): Activities allow different sets of running apps, widgets, and wallpapers for different contexts—writing, design, maintenance—without duplicating data or adding mental clutter.&lt;/p&gt;

&lt;p&gt;Clipboard History (Meta + V): Reliable, persistent, and respectful of your workflow. It just works, and once it does, you stop thinking about it—which is precisely the point. I set my history to 100 entries, so a snippet I used a few days ago is always at my fingertips.  &lt;/p&gt;

&lt;p&gt;Global Shortcuts Everywhere: Nearly everything in Plasma can be bound to a keystroke—including scripts, window behaviors, and KRunner actions. Power is there when you want it, invisible when you don’t.&lt;/p&gt;

&lt;p&gt;None of these features scream for attention. Together, they explain why Plasma feels capable and confident, even when it’s doing a lot.&lt;/p&gt;

&lt;h2&gt;
  
  
  Order from Chaos
&lt;/h2&gt;

&lt;p&gt;Once I trusted the system, the rest followed.&lt;/p&gt;

&lt;p&gt;I cleaned out remnants of old and failed experiments. Removed duplicate folders. Let go of “just in case” backups.&lt;/p&gt;

&lt;p&gt;For the first time in years, my file structure reflected how I actually work—not how afraid I was of losing something.&lt;/p&gt;

&lt;p&gt;Plasma didn’t force this on me. It just earned my confidence.&lt;/p&gt;




&lt;h2&gt;
  
  
  A Note for Non‑Debian Users: What’s New Beyond Plasma 6.3?
&lt;/h2&gt;

&lt;p&gt;I have no experience with it, but I looked it up and can't wait for Debian to put it into the stable repo.&lt;/p&gt;

&lt;p&gt;KDE hasn’t been idle. Upstream Plasma is now up to the 6.5 series, and while there's still no huge fanfare, the improvements reinforce exactly what made 6.3 work so well for me.&lt;/p&gt;

&lt;p&gt;Highlights include automatic light/dark theme switching, continued Wayland refinements, better clipboard management, reduced memory usage, and more visual polish.&lt;/p&gt;

&lt;p&gt;The direction is clear: less friction, more confidence, and a future strongly centered on Wayland.&lt;/p&gt;

&lt;p&gt;Staying on Plasma 6.3.6 doesn’t feel limiting—it feels complete.&lt;/p&gt;




&lt;h2&gt;
  
  
  No Add‑Ons, No Tweaks—And That’s the Whole Point
&lt;/h2&gt;

&lt;p&gt;I haven’t even looked at third‑party add‑ons or widgets.&lt;/p&gt;

&lt;p&gt;Not because they aren’t there, but because I haven't come across anything that needs them.&lt;/p&gt;

&lt;p&gt;When reviewers say “nothing exciting” happened between Plasma releases, I get what they mean now—but now I see why are so wrong.&lt;/p&gt;

&lt;p&gt;Plasma didn’t add excitement. It removed friction. That should be whole point of a deskktop environment.&lt;/p&gt;

&lt;p&gt;And when software quietly gets out of my way, that’s not boring, it's what I would have done manually.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;That’s life‑changing!&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>kde</category>
      <category>productivity</category>
      <category>debian</category>
    </item>
    <item>
      <title>Debian First Aid Kit</title>
      <dc:creator>Michael</dc:creator>
      <pubDate>Wed, 29 Oct 2025 01:10:15 +0000</pubDate>
      <link>https://dev.to/divsmart/debian-first-aid-kit-2llm</link>
      <guid>https://dev.to/divsmart/debian-first-aid-kit-2llm</guid>
      <description>&lt;h2&gt;
  
  
  Welcome to the Debian First Aid Kit!
&lt;/h2&gt;

&lt;p&gt;Maybe you're completely new to the command line. Either way, you've probably discovered something: Debian help is everywhere, but it's scattered across forums, wikis, and threads—finding the right help when something breaks can feel like searching for a needle in a haystack. This guide exists to change all that. I have compiled the essential fixes and diagnostics you actually need, in one place. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Anyone can cook." — Chef Gusteau&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;Well, anyone can use Debian too. You don't need to be an expert—you just need the right guidance when things go wrong. Let's get started...&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Use This Guide
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;If you're new to Debian:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Start with the section that matches your problem&lt;/li&gt;
&lt;li&gt;Try the first few commands listed&lt;/li&gt;
&lt;li&gt;Don't worry if some commands look complicated - just copy and paste them&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The sections get progressively more detailed.&lt;/strong&gt; Start simple, go deeper only if needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  System Freezes &amp;amp; Crashes
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Check System Logs
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# View logs from previous boot (after freeze/crash)&lt;/span&gt;
journalctl &lt;span class="nt"&gt;-b&lt;/span&gt; &lt;span class="nt"&gt;-1&lt;/span&gt;

&lt;span class="c"&gt;# List all available boots&lt;/span&gt;
journalctl &lt;span class="nt"&gt;--list-boots&lt;/span&gt;

&lt;span class="c"&gt;# Show only kernel messages from previous boot&lt;/span&gt;
journalctl &lt;span class="nt"&gt;-b&lt;/span&gt; &lt;span class="nt"&gt;-1&lt;/span&gt; &lt;span class="nt"&gt;-k&lt;/span&gt;

&lt;span class="c"&gt;# Show errors and critical messages only&lt;/span&gt;
journalctl &lt;span class="nt"&gt;-b&lt;/span&gt; &lt;span class="nt"&gt;-1&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; err

&lt;span class="c"&gt;# Save logs to file for analysis&lt;/span&gt;
journalctl &lt;span class="nt"&gt;-b&lt;/span&gt; &lt;span class="nt"&gt;-1&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; ~/crash-log.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Common Freeze Causes to Look For
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kernel panics&lt;/strong&gt;: Search for "kernel panic" or "Oops"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Out of Memory (OOM)&lt;/strong&gt;: Search for "Out of memory" or "oom-killer"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hardware errors&lt;/strong&gt;: Look for "MCE" (Machine Check Exception) or "hardware error"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Driver issues&lt;/strong&gt;: Check for module/driver failures&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Overheating&lt;/strong&gt;: Check system temperatures&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Check System Resources
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# View memory usage&lt;/span&gt;
free &lt;span class="nt"&gt;-h&lt;/span&gt;

&lt;span class="c"&gt;# Check disk space&lt;/span&gt;
&lt;span class="nb"&gt;df&lt;/span&gt; &lt;span class="nt"&gt;-h&lt;/span&gt;

&lt;span class="c"&gt;# Monitor system resources in real-time&lt;/span&gt;
htop
&lt;span class="c"&gt;# or&lt;/span&gt;
top
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(I prefer btop for better presentation)&lt;br&gt;
It's not installed by default, so here are the steps.&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check for disk errors&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;dmesg | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; error
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These are permanent errors due to incomplete/buggy ACPI tables in the BIOS on my own system. I use them to demonstrate the error messages are nothing to worry about. They are just an example of what you may see with the varied hardware:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;0.686554] ACPI Error: No handler for Region [ECRM] (00000000201accc4) [EmbeddedControl] (20250404/evregion-131)
0.686577] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20250404/exfldio-261)
0.686594] ACPI Error: Aborting method \_SB.GPIO._EVT due to previous error (AE_NOT_EXIST) (20250404/psparse-529)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Boot Problems
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Check Boot Process
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# View systemd boot analysis&lt;/span&gt;
systemd-analyze blame

&lt;span class="c"&gt;# See what failed during boot&lt;/span&gt;
systemctl &lt;span class="nt"&gt;--failed&lt;/span&gt;

&lt;span class="c"&gt;# Check specific service status&lt;/span&gt;
systemctl status &amp;lt;service-name&amp;gt;  &lt;span class="c"&gt;# e.g. NetworkManager.service&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Access Recovery Mode
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Reboot and hold Shift to access GRUB menu (depending on your grub timing settings)&lt;/li&gt;
&lt;li&gt;Select "Advanced options"&lt;/li&gt;
&lt;li&gt;Choose recovery mode&lt;/li&gt;
&lt;li&gt;Select "root" for root shell access&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Common Boot Fixes
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Repair filesystem errors&lt;/span&gt;
&lt;span class="c"&gt;# Once you identify a device with lsblk&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;fsck /dev/sdXN

&lt;span class="c"&gt;# Reinstall GRUB bootloader&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;grub-install /dev/sdX
&lt;span class="nb"&gt;sudo &lt;/span&gt;update-grub

&lt;span class="c"&gt;# Check fstab for mount errors&lt;/span&gt;
&lt;span class="nb"&gt;cat&lt;/span&gt; /etc/fstab
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Network Issues
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Diagnose Network Connection
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check network interfaces&lt;/span&gt;
ip addr show

&lt;span class="c"&gt;# Test connectivity&lt;/span&gt;
ping &lt;span class="nt"&gt;-c&lt;/span&gt; 4 8.8.8.8
&lt;span class="c"&gt;# or&lt;/span&gt;
ping &lt;span class="nt"&gt;-c&lt;/span&gt; 6 2a00:1450:4007:809::200e

&lt;span class="c"&gt;# Check DNS resolution&lt;/span&gt;
nslookup google.com

&lt;span class="c"&gt;# View routing table&lt;/span&gt;
ip route show

&lt;span class="c"&gt;# Check active connections&lt;/span&gt;
ss &lt;span class="nt"&gt;-tuln&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Restart Network Service
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# For systems with NetworkManager&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl restart NetworkManager

&lt;span class="c"&gt;# For systems with networking service&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl restart networking

&lt;span class="c"&gt;# Bring interface down and up&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;ip &lt;span class="nb"&gt;link set &lt;/span&gt;eth0 down
&lt;span class="nb"&gt;sudo &lt;/span&gt;ip &lt;span class="nb"&gt;link set &lt;/span&gt;eth0 up
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Network Issues
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Diagnose Network Connection
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check network interfaces&lt;/span&gt;
ip addr show

&lt;span class="c"&gt;# Test connectivity&lt;/span&gt;
ping &lt;span class="nt"&gt;-c&lt;/span&gt; 4 8.8.8.8
&lt;span class="c"&gt;# or&lt;/span&gt;
ping &lt;span class="nt"&gt;-c&lt;/span&gt; 6 2a00:1450:4007:809::200e

&lt;span class="c"&gt;# Check DNS resolution&lt;/span&gt;
nslookup google.com

&lt;span class="c"&gt;# View routing table&lt;/span&gt;
ip route show

&lt;span class="c"&gt;# Check active connections&lt;/span&gt;
ss &lt;span class="nt"&gt;-tuln&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Restart Network Service
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# For systems with NetworkManager&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl restart NetworkManager

&lt;span class="c"&gt;# For systems with networking service&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl restart networking

&lt;span class="c"&gt;# Bring interface down and up&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;ip &lt;span class="nb"&gt;link set &lt;/span&gt;eth0 down
&lt;span class="nb"&gt;sudo &lt;/span&gt;ip &lt;span class="nb"&gt;link set &lt;/span&gt;eth0 up
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;For advanced network path analysis and proving issues to your hosting provider, see the MTR (Advanced Network Diagnostics) section.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Package Management Issues
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Fix Broken Packages
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Update package lists&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt update

&lt;span class="c"&gt;# Fix broken dependencies&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nt"&gt;--fix-broken&lt;/span&gt; &lt;span class="nb"&gt;install&lt;/span&gt;

&lt;span class="c"&gt;# Reconfigure packages&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;dpkg &lt;span class="nt"&gt;--configure&lt;/span&gt; &lt;span class="nt"&gt;-a&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(if no output, there is nothing to do)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Clean package cache&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt clean
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt autoclean

&lt;span class="c"&gt;# Remove unused packages&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt autoremove
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Handle Held or Locked Packages
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# If apt is locked, find the process&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;lsof /var/lib/dpkg/lock-frontend

&lt;span class="c"&gt;# Force remove lock (use carefully)&lt;/span&gt;
&lt;span class="nb"&gt;sudo rm&lt;/span&gt; /var/lib/dpkg/lock-frontend
&lt;span class="nb"&gt;sudo rm&lt;/span&gt; /var/lib/apt/lists/lock

&lt;span class="c"&gt;# Reconfigure dpkg&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;dpkg &lt;span class="nt"&gt;--configure&lt;/span&gt; &lt;span class="nt"&gt;-a&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Disk &amp;amp; Filesystem Issues
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Check Disk Health
&lt;/h3&gt;



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

&lt;span class="c"&gt;# Check inode usage&lt;/span&gt;
&lt;span class="nb"&gt;df&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt;

&lt;span class="c"&gt;# View disk I/O statistics&lt;/span&gt;
iostat &lt;span class="nt"&gt;-x&lt;/span&gt; 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(Make sure you have sysstat which includes useful performance monitoring tools other than iostat - disk I/O statistics)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;mpstat - CPU statistics&lt;/li&gt;
&lt;li&gt;sar - system activity reporter&lt;/li&gt;
&lt;li&gt;pidstat - process statistics&lt;/li&gt;
&lt;li&gt;cifsiostat - CIFS statistics
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Show stats in MB instead of KB&lt;/span&gt;
iostat &lt;span class="nt"&gt;-xm&lt;/span&gt; 2

&lt;span class="c"&gt;# Monitor specific device&lt;/span&gt;
iostat &lt;span class="nt"&gt;-x&lt;/span&gt; sda 1

&lt;span class="c"&gt;# Check for disk errors in dmesg&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;dmesg | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; &lt;span class="s2"&gt;"error&lt;/span&gt;&lt;span class="se"&gt;\|&lt;/span&gt;&lt;span class="s2"&gt;fail"&lt;/span&gt;

&lt;span class="c"&gt;# SMART disk health (if smartmontools installed)&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;smartctl &lt;span class="nt"&gt;-a&lt;/span&gt; /dev/sda
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Repair Filesystem
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Unmount the partition first&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;umount /dev/sdXN

&lt;span class="c"&gt;# Run filesystem check&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;fsck /dev/sdXN

&lt;span class="c"&gt;# For ext4 specifically&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;e2fsck &lt;span class="nt"&gt;-f&lt;/span&gt; /dev/sdXN
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Performance Issues
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Identify Resource Hogs
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# CPU usage by process&lt;/span&gt;
top &lt;span class="nt"&gt;-o&lt;/span&gt; %CPU

&lt;span class="c"&gt;# Memory usage by process&lt;/span&gt;
top &lt;span class="nt"&gt;-o&lt;/span&gt; %MEM

&lt;span class="c"&gt;# Disk usage by directory&lt;/span&gt;
&lt;span class="nb"&gt;du&lt;/span&gt; &lt;span class="nt"&gt;-sh&lt;/span&gt; /&lt;span class="k"&gt;*&lt;/span&gt; | &lt;span class="nb"&gt;sort&lt;/span&gt; &lt;span class="nt"&gt;-h&lt;/span&gt;

&lt;span class="c"&gt;# Find large files&lt;/span&gt;
find / &lt;span class="nt"&gt;-type&lt;/span&gt; f &lt;span class="nt"&gt;-size&lt;/span&gt; +100M 2&amp;gt;/dev/null

&lt;span class="c"&gt;# Check running processes&lt;/span&gt;
ps aux &lt;span class="nt"&gt;--sort&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;-%mem | &lt;span class="nb"&gt;head&lt;/span&gt; &lt;span class="nt"&gt;-20&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  System Temperature Monitoring
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install sensors (if not installed)&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;lm-sensors
&lt;span class="nb"&gt;sudo &lt;/span&gt;sensors-detect

&lt;span class="c"&gt;# View temperatures&lt;/span&gt;
sensors

&lt;span class="c"&gt;# Real-time temperature monitoring&lt;/span&gt;
watch &lt;span class="nt"&gt;-n&lt;/span&gt; 2 sensors
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;I have it as an alias in ~/.bashrc&lt;/em&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;Go to 11. Useful Aliases &amp;amp; Shortcuts&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Service &amp;amp; Application Errors
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Debug Service Problems
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check service status&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl status service-name

&lt;span class="c"&gt;# View service logs&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;journalctl &lt;span class="nt"&gt;-u&lt;/span&gt; service-name

&lt;span class="c"&gt;# Restart a service&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl restart service-name

&lt;span class="c"&gt;# Enable service at boot&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl &lt;span class="nb"&gt;enable &lt;/span&gt;service-name

&lt;span class="c"&gt;# View recent service failures&lt;/span&gt;
journalctl &lt;span class="nt"&gt;-p&lt;/span&gt; err &lt;span class="nt"&gt;-b&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Application Crash Investigation
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check for core dumps&lt;/span&gt;
&lt;span class="nb"&gt;ls&lt;/span&gt; &lt;span class="nt"&gt;-lh&lt;/span&gt; /var/crash/

&lt;span class="c"&gt;# View application-specific logs&lt;/span&gt;
&lt;span class="nb"&gt;ls&lt;/span&gt; /var/log/

&lt;span class="c"&gt;# Check syslog for application errors&lt;/span&gt;
&lt;span class="nb"&gt;sudo tail&lt;/span&gt; &lt;span class="nt"&gt;-f&lt;/span&gt; /var/log/syslog
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Permission &amp;amp; Access Issues
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Fix Common Permission Problems
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check file ownership&lt;/span&gt;
&lt;span class="nb"&gt;ls&lt;/span&gt; &lt;span class="nt"&gt;-l&lt;/span&gt; /path/to/file

&lt;span class="c"&gt;# Change ownership&lt;/span&gt;
&lt;span class="nb"&gt;sudo chown &lt;/span&gt;michael:michael /path/to/file
&lt;span class="c"&gt;# user:group&lt;/span&gt;

&lt;span class="c"&gt;# Change permissions&lt;/span&gt;
&lt;span class="nb"&gt;sudo chmod &lt;/span&gt;644 /path/to/file

&lt;span class="c"&gt;# Recursively fix permissions&lt;/span&gt;
&lt;span class="nb"&gt;sudo chown&lt;/span&gt; &lt;span class="nt"&gt;-R&lt;/span&gt; user:group /path/to/directory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  User &amp;amp; Authentication Issues
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check user information&lt;/span&gt;
&lt;span class="nb"&gt;id &lt;/span&gt;username

&lt;span class="c"&gt;# View user login history&lt;/span&gt;
last &lt;span class="nt"&gt;-a&lt;/span&gt;

&lt;span class="c"&gt;# Check failed login attempts&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;journalctl | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="s2"&gt;"authentication failure"&lt;/span&gt;

&lt;span class="c"&gt;# Reset user password&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;passwd username
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Hardware Issues
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Identify Hardware
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# List all hardware&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;lshw &lt;span class="nt"&gt;-short&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;(May not be installed by default)&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# PCI devices&lt;/span&gt;
lspci &lt;span class="nt"&gt;-v&lt;/span&gt;

&lt;span class="c"&gt;# USB devices&lt;/span&gt;
lsusb &lt;span class="nt"&gt;-v&lt;/span&gt;

&lt;span class="c"&gt;# CPU information&lt;/span&gt;
lscpu

&lt;span class="c"&gt;# Memory information&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;dmidecode &lt;span class="nt"&gt;--type&lt;/span&gt; memory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Check Hardware Errors
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Kernel ring buffer (hardware messages)&lt;/span&gt;
dmesg | less
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(If no output, good, no errors)&lt;br&gt;&lt;br&gt;
q to quit&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Search for specific hardware issues&lt;/span&gt;
dmesg | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; &lt;span class="s2"&gt;"error&lt;/span&gt;&lt;span class="se"&gt;\|&lt;/span&gt;&lt;span class="s2"&gt;fail&lt;/span&gt;&lt;span class="se"&gt;\|&lt;/span&gt;&lt;span class="s2"&gt;warn"&lt;/span&gt;

&lt;span class="c"&gt;# Check for USB issues&lt;/span&gt;
dmesg | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; usb
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Quick Diagnostic Commands
&lt;/h2&gt;

&lt;h3&gt;
  
  
  System Information at a Glance
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Uptime and load average&lt;/span&gt;
&lt;span class="nb"&gt;uptime&lt;/span&gt;

&lt;span class="c"&gt;# Kernel version&lt;/span&gt;
&lt;span class="nb"&gt;uname&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt;

&lt;span class="c"&gt;# Debian version&lt;/span&gt;
&lt;span class="nb"&gt;cat&lt;/span&gt; /etc/debian_version

&lt;span class="c"&gt;# System summary&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;inxi &lt;span class="nt"&gt;-Fxz&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Emergency Toolkit
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Create a diagnostic report&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;journalctl &lt;span class="nt"&gt;-b&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; ~/system-report.txt
dmesg &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; ~/system-report.txt
systemctl &lt;span class="nt"&gt;--failed&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; ~/system-report.txt
&lt;span class="nb"&gt;df&lt;/span&gt; &lt;span class="nt"&gt;-h&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; ~/system-report.txt
free &lt;span class="nt"&gt;-h&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; ~/system-report.txt

&lt;span class="c"&gt;# Watch logs in real-time&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;journalctl &lt;span class="nt"&gt;-f&lt;/span&gt;

&lt;span class="c"&gt;# Monitor system resources continuously&lt;/span&gt;
watch &lt;span class="nt"&gt;-n&lt;/span&gt; 1 &lt;span class="s1"&gt;'free -h &amp;amp;&amp;amp; df -h'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Useful Aliases &amp;amp; Shortcuts
&lt;/h2&gt;

&lt;p&gt;Add these to your ~/.bashrc for quick access to common troubleshooting commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Monitor system temperatures in real-time&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;temps&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"watch -n 2 'for i in /sys/class/hwmon/hwmon*/; do echo -n &lt;/span&gt;&lt;span class="se"&gt;\"\$&lt;/span&gt;&lt;span class="s2"&gt;(cat &lt;/span&gt;&lt;span class="se"&gt;\$&lt;/span&gt;&lt;span class="s2"&gt;{i}name): &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;; cat &lt;/span&gt;&lt;span class="se"&gt;\$&lt;/span&gt;&lt;span class="s2"&gt;{i}temp*_input 2&amp;gt;/dev/null | while read temp; do echo &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;scale=1; &lt;/span&gt;&lt;span class="se"&gt;\$&lt;/span&gt;&lt;span class="s2"&gt;temp/1000&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt; | bc; done | tr &lt;/span&gt;&lt;span class="se"&gt;\"\n\"&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;; echo &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;°C&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;; done'"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;or run the watch command in the shell without the opening and closing double quotes.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Quick system status&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;sysstat&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'echo "=== CPU ===" &amp;amp;&amp;amp; uptime &amp;amp;&amp;amp; echo -e "\n=== Memory ===" &amp;amp;&amp;amp; free -h &amp;amp;&amp;amp; echo -e "\n=== Disk ===" &amp;amp;&amp;amp; df -h &amp;amp;&amp;amp; echo -e "\n=== Top Processes ===" &amp;amp;&amp;amp; ps aux --sort=-%mem | head -10'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(It's a messy layout, but I'm terrible with awk. Feel free to improve the layout for me)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# View last boot logs&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;lastboot&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'journalctl -b -1'&lt;/span&gt;

&lt;span class="c"&gt;# Check failed services&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;failedservices&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'systemctl --failed'&lt;/span&gt;

&lt;span class="c"&gt;# Monitor logs in real-time&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;watchlog&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'sudo journalctl -f'&lt;/span&gt;

&lt;span class="c"&gt;# Quick network status&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;netstat&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'ip addr show &amp;amp;&amp;amp; echo -e "\n=== Routes ===" &amp;amp;&amp;amp; ip route show'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After adding these, run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;source&lt;/span&gt; ~/.bashrc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Tips for Your Troubleshooting
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;First check logs&lt;/strong&gt;: journalctl and dmesg are your best friends&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Work through the sections&lt;/strong&gt;: Change one thing at a time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document changes&lt;/strong&gt;: Keep notes on what you've tried&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search for error messages&lt;/strong&gt;: Copy exact error messages into search engines or AI&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check recent changes&lt;/strong&gt;: What you did before it happened? Install something, update packages, kernel?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make backups&lt;/strong&gt;: Before major changes, backup important data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use verbose mode&lt;/strong&gt;: Add -v or -vv flags to commands for more detail&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check forums&lt;/strong&gt;: Debian forum, Reddit, Stack Exchange, and mailing lists&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Remember&lt;/strong&gt;: If in doubt, search for the specific error message along with "Debian" and the version number. e.g. Debian 13 or point release if needed, Debian 13.1&lt;/p&gt;

&lt;p&gt;As usual I welcome any comments, suggestions or resources:&lt;br&gt;&lt;br&gt;
&lt;strong&gt;&lt;a href="mailto:dev@divsmart.com"&gt;dev@divsmart.com&lt;/a&gt;&lt;/strong&gt; or &lt;strong&gt;distro-nix&lt;/strong&gt; on Debian Forum.&lt;/p&gt;

</description>
      <category>debian</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>help</category>
    </item>
    <item>
      <title>FIRST POST: WOW! - I Finally Found My Linux Stack-Pt 1</title>
      <dc:creator>Michael</dc:creator>
      <pubDate>Thu, 23 Oct 2025 17:32:29 +0000</pubDate>
      <link>https://dev.to/divsmart/i-finally-found-my-linux-stack-part-1-3a26</link>
      <guid>https://dev.to/divsmart/i-finally-found-my-linux-stack-part-1-3a26</guid>
      <description>&lt;h2&gt;
  
  
  After years of searching through different distros, desktop environments, and configurations, I finally found my perfect Linux setup, with DEBIAN 13 (TRIXIE) as the core and btrfs as the filesystem. This is a short story of how I got here, and why I'm done searching
&lt;/h2&gt;




&lt;h2&gt;
  
  
  Desktop Evolution
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;1. GNOME - Started here, but grew frustrated with broken extensions&lt;/li&gt;
&lt;li&gt;2. KDE - Too many options, too much tweaking, buggy&lt;/li&gt;
&lt;li&gt;3. XFCE - Solid, but felt dated and limited&lt;/li&gt;
&lt;li&gt;4. Cinnamon - Finally found my endpoint&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Breaking Points
&lt;/h3&gt;

&lt;h4&gt;
  
  
  GNOME Extensions:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Extensions breaking with every GNOME update &lt;/li&gt;
&lt;li&gt; "This extension is incompatible with GNOME 4X" messages constantly &lt;/li&gt;
&lt;li&gt; Half my workflow disappeared after updates &lt;/li&gt;
&lt;li&gt; Searching for updated forks on GitHub when third-developers lost interest&lt;/li&gt;
&lt;li&gt; Extension conflicts causing crashes - Gnome disabled extensions for some reason or another &lt;/li&gt;
&lt;li&gt; Maintenance overhead became untenable&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Fedora Silverblue: Distrohopping to Immutable Core
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Immutability restrictions limiting flexibility &lt;/li&gt;
&lt;li&gt;rpm-ostree layering complexity &lt;/li&gt;
&lt;li&gt;Toolbox/Distrobox container workarounds for everything &lt;/li&gt;
&lt;li&gt;Fighting the system to do simple customizations &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted the safety of rollback snapshots without the headaches of immutability. I saw OpenSUSE Tumbleweed did the snapshot rollback very well, but OpenSUSE is a story for another day, the nightmare to how to get peripherals working with YaST and why they suddenly disappear.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Final Stack
&lt;/h2&gt;

&lt;p&gt;I remember the day the founder of Debian, Ian Murdock, launched Debian. I was so excited to try it, so I bought the latest PC magazine with the CD, but alas, after a few days, I gave up in disgust. So many fatal errors and spitting out pages of meaningless gobbledygook. Years later I heard about a town hall Linux day, so I took my tower to see they could get Debian on it. Even the Linux gurus couldn't get it running. Eventually they convinced me to put on what everyone was raving about, something called Mandrake. At least it booted and had a desktop, but at least I now had Linux.&lt;/p&gt;

&lt;p&gt;Fast forward today, I've had decades as a Linux administrator, and my dalliance with Windows is long purged from my system. I still have an iMac 27 inch 5K Retina, that Apple kindly declared obsolete due to it having an Intel CPU. I just put Debian 13 on that as well, and will write a tutorial on the installation, if anyone shows interest in how to get the Wifi and iMac Magic Mouse working. &lt;/p&gt;

&lt;p&gt;*&lt;em&gt;After years of experimentation, here's what I settled on:&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Core System&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OS: Debian 13 (Trixie)
&lt;/li&gt;
&lt;li&gt;Filesystem: btrfs with snapshots, grub menu with rollback&lt;/li&gt;
&lt;li&gt;Desktop Environment: Cinnamon with zero extensions &lt;/li&gt;
&lt;li&gt;Display Server: X11 (I'm not a gamer)&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Keyboard: AZERTY/QWERTY  (properly configured)  &lt;/p&gt;
&lt;h2&gt;
  
  
  Applications
&lt;/h2&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Email Client: Evolution 3.58 (via Flatpak) &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Mail Server: Self-hosted (my primary email) &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Package Management: Native apt packages first, minimal Flatpaks &lt;br&gt;
only when needing some newer features &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Infrastructure
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Mirrors: OSUOSL (Oregon State University Open Source Lab) Super fast, please support this incubator of technology. &lt;/li&gt;
&lt;li&gt;Locales: French default with instant English switching via bash aliases (That's because I live on a French island and regularly need to switch back and forth).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'd love to hear your experiences, comments or suggestions. &lt;/p&gt;

&lt;p&gt;Ok, that's my first contribution to dev.to platform. In the next episode, I will elaborate on the setup, and why IMHO, btrfs snapshots are the fail-safe system to have. &lt;/p&gt;

</description>
      <category>debian</category>
      <category>x11</category>
      <category>linux</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
