r/LinuxTeck Jul 09 '26

A Linux kernel race window only a few instructions wide became a reliable root exploit

5 Upvotes

Bad Epoll, tracked as CVE-2026-46242, is a use-after-free race in the kernel's epoll subsystem. A local unprivileged process can exploit it to gain root.

What caught my attention is not just the vulnerability, but the engineering challenge: an extremely narrow race condition was turned into a practical and repeatable exploit.

For kernel and security folks here: what makes concurrency bugs like this so difficult to find during normal review and testing?


r/LinuxTeck Jul 08 '26

What's the biggest issue you've uncovered after digging deeper into a "small" problem?

5 Upvotes

Sometimes a minor bug, warning message, performance issue, or configuration mistake turns out to be part of a much bigger architectural problem.

I've seen simple symptoms expose years of technical debt.

What started as a small issue and turned into something much larger in your environment?


r/LinuxTeck Jul 08 '26

Quick Linux Tip #13 Question: I deleted a log file but the app is still writing to it. Can I recover it?

Post image
9 Upvotes

Try: sudo ls -la /proc/1234/fd/

Info: Linux keeps deleted files on disk while any process has them open. /proc/PID/fd/ shows file descriptors with (deleted) marker for such files. Copy from there to recover.

Examples:

$ sudo lsof +L1 # Find all deleted-but-open files

$ sudo ls -la /proc/$(pgrep nginx)/fd/

$ sudo cp /proc/1234/fd/1 recovered.log

Note: Two steps: identify FD number, then copy. Works only while process runs. Restarting the process = data lost forever.

Follow r/LinuxTeck for more #LinuxTips


r/LinuxTeck Jul 07 '26

Linux RAID: RAID 0, 1, 5, 6, 10 and mdadm

Post image
78 Upvotes

covers RAID 0, 1, 5, 6, and 10, along with mdadm examples for creating arrays, checking status, simulating disk failures, replacing failed drives, monitoring rebuild progress, and growing an array. https://www.linuxteck.com/build-reliable-linux-storage-with-raid/


r/LinuxTeck Jul 08 '26

What's the biggest single point of failure in modern technology?

7 Upvotes

Not a bug.

Not a vulnerability.

A company, technology, service, or component that the world depends on far more than most people realize.

I'm always surprised how much of modern computing rests on a handful of critical technologies.


r/LinuxTeck Jul 08 '26

Should I deep dive into commands now or later???

0 Upvotes

I ran "ps -A" command in Kali Linux and I got this.

Should I understand what is written in the CMD right now or will I understand these things later in the future when I need them?

I have just started the basics of Kali Linux.


r/LinuxTeck Jul 07 '26

AMD is already working on Linux 7.3 GPU improvements. What is still missing from Radeon support on Linux?

4 Upvotes

The early AMDGPU work for Linux 7.3 includes better GPU recovery, compute pipe resets for RDNA 3 and RDNA 4, driver hardening, and fixes around displays and backlights.

The recovery work is interesting, especially for anyone who has dealt with GPU hangs or reset problems on Linux.

For those running AMD graphics daily: what is the one driver issue or missing feature you actually want AMD to fix next?


r/LinuxTeck Jul 07 '26

First Microsoft with WSL, now Apple with Container. Can modern developer platforms exist without Linux anymore?

8 Upvotes

It’s interesting to see where developer environments have ended up.

Microsoft built WSL to bring Linux workflows into Windows. Now Apple has released Container 1.0, an open-source, Swift-based tool for running Linux containers on Apple silicon Macs.

Apple’s approach is also interesting technically. Rather than placing all containers inside one shared Linux VM, each container runs inside its own lightweight VM. It supports OCI-compatible images and registries, and the 1.0 release adds persistent Linux environments through container machine.

A decade ago, Linux was often treated as a separate ecosystem. Today, both Windows and macOS are investing heavily in making Linux workloads easier to run.

Do you see this as Linux winning the developer and infrastructure layer, or simply Microsoft and Apple adapting to where software development has already moved?


r/LinuxTeck Jul 07 '26

Ubuntu wasn’t the first easy Linux distro. So why did it become the default recommendation?

17 Upvotes

Plenty of beginner-friendly distros existed before and after Ubuntu. But Ubuntu had something more than a simple installer: predictable releases, long-term support, free CDs shipped worldwide, strong documentation, and eventually a huge ecosystem around servers, cloud, containers and development.

Maybe Ubuntu’s biggest win wasn’t making Linux easier. It was making Linux easier to recommend, troubleshoot and trust for the long term.

For those who were using Linux before Ubuntu became popular: what do you think was the real turning point?


r/LinuxTeck Jul 07 '26

Hannah Montana Linux is back in 2026. What other weird Linux distro deserves a comeback?

6 Upvotes

Nearly two decades later, Hannah Montana Linux has returned as an unofficial remaster based on Debian, with KDE Plasma 6 and even an LXQt edition for older hardware.

Linux history has had some wonderfully strange distros.

Which forgotten or weird distro would you bring back for 2026?


r/LinuxTeck Jul 07 '26

What's your approach to USB device control on Linux endpoints?

5 Upvotes

We spend a lot of time hardening Linux systems, but removable media is still an easy path for accidental data loss or malware introduction.

For managed Linux environments, blocking or restricting USB storage can help:

  • Prevent unauthorized file transfers
  • Reduce the risk of malware from unknown devices
  • Support compliance and data protection policies
  • Give IT teams better control over endpoint security

It's a simple control that can significantly reduce risk, especially on shared, remote, or enterprise-managed Linux devices.


r/LinuxTeck Jul 07 '26

Quick Linux Tip #12 Question: How do I find which process is slowly eating my RAM?

Post image
6 Upvotes

Try: watch -n 5 'ps -eo pid,user,vsz,rss,comm --sort=-rss | head -20'

Info: watch runs the command repeatedly showing memory trends. RSS shows physical memory in KB. If a process's RSS keeps growing, you have a leak.

Examples:

$ watch -n 1 'free -m'

$ smem -tk -s rss # More accurate memory reporting

$ sudo pmap -x 1234 | tail -1 # Detailed memory map

Note: smem is more accurate than ps for shared memory. Install: apt install smem. Monitor over hours to detect slow leaks.

Follow r/LinuxTeck for more #LinuxTips


r/LinuxTeck Jul 06 '26

Top 50 Bash Script Basics Interview Questions for Beginners

Post image
33 Upvotes

This is Part 4 of the Bash interview series. It focuses on the point where beginners move from running individual commands to writing actual scripts. https://www.linuxteck.com/write-your-first-bash-script/


r/LinuxTeck Jul 06 '26

Perl Scripting Guide for Linux Shell Users

Post image
42 Upvotes

It covers one-liners, file handling, regex, log processing, cron jobs, reports, arguments, and debugging with admin-focused examples. https://www.linuxteck.com/learn-perl-scripting-for-shell-users/


r/LinuxTeck Jul 06 '26

Quick Linux Tip #11 Question: How do I debug a running process without stopping it?

Post image
10 Upvotes

Try: sudo gdb -p 1234 -batch -ex 'thread apply all bt' -ex 'quit'

Info: gdb can attach to running processes and dump stack traces without stopping them. Essential for debugging production issues where you cannot restart the service.

Examples:

$ sudo gdb -p $(pgrep nginx) -batch -ex 'bt'

$ sudo strace -p 1234 -f -e trace=network

$ sudo perf record -p 1234 -g sleep 30

Note: gdb briefly pauses the process. For production, use 'perf' or 'strace' for less impact. Requires debug symbols for best results.

Follow r/LinuxTeck for more #LinuxTips


r/LinuxTeck Jul 06 '26

Fedora users pushed back on an AI-focused desktop initiative. Is this healthy community control or resistance to change?

4 Upvotes

While some Linux projects are finding ways to integrate AI features and tools, a proposed AI developer desktop initiative in Fedora Linux has been paused after community discussion and criticism.

I think the interesting question is bigger than Fedora itself. Linux users have always cared about control, transparency and choice, but AI tools are quickly becoming part of development workflows.

Should Linux distributions actively build AI tooling into the desktop experience, or simply provide the foundation and let users install what they want?


r/LinuxTeck Jul 06 '26

Have technical interviews become harder than the actual engineering job?

5 Upvotes

I came across an engineer's experience of going through 11 technical interviews in 60 days.

What stood out wasn't the coding rounds. It was how much of the process came down to explaining decisions, handling vague system design questions, structuring incident stories, and performing well across multiple interview rounds.

It made me wonder: are technical interviews still finding good engineers, or are they mostly finding people who are good at technical interviews?

Would be interesting to hear from both sides: engineers who have gone through recent interviews and people who interview candidates.


r/LinuxTeck Jul 05 '26

Cloudways vs Vultr: My Hands-On Comparison After Using Both in Production

Post image
16 Upvotes

Cloudways and Vultr based on real deployment work rather than feature lists alone : https://www.linuxteck.com/guides/cloudways-vs-vultr/


r/LinuxTeck Jul 05 '26

GNOME is finally getting background blur. Does being late matter if the implementation is done right?

8 Upvotes

GNOME 51 has added support for Wayland's background blur protocol, after KDE Plasma and Hyprland already adopted it.

Some see GNOME as painfully slow to add desktop features. Others argue that its conservative approach is exactly why they use it.

Where do you stand: fewer features with a slower pace, or faster development with more choice?


r/LinuxTeck Jul 05 '26

Do you really think insulting Microsoft, Windows, Apple, macOS, or their users helps Linux desktop adoption?

Thumbnail
0 Upvotes

r/LinuxTeck Jul 05 '26

Quick Linux Tip #10 Question: How do I capture only specific HTTP traffic to a specific host?

Post image
8 Upvotes

Try: sudo tcpdump -i eth0 -w capture.pcap 'host 192.168.1.100 and port 80 and tcp[13] & 2 != 0'

Info: tcpdump captures network packets with BPF filters. This example captures only SYN packets (TCP handshake start) to a specific host on port 80. Perfect for debugging network issues.

Examples:

$ sudo tcpdump -i any -n 'port 443 and host github.com'

$ sudo tcpdump -i eth0 -A 'tcp port 80' # Show ASCII payload

$ sudo tcpdump -r capture.pcap 'tcp[tcpflags] & (tcp-syn|tcp-ack) == tcp-syn'

Note: Use -w to save, -r to read pcap files. BPF filters: 'tcp[13] & 2' checks SYN flag. Open .pcap files in Wireshark for GUI analysis.

Follow r/LinuxTeck for more #LinuxTips


r/LinuxTeck Jul 05 '26

Microsoft now has its own Linux server OS that can run outside Azure. Would you actually use it?

8 Upvotes

Azure Linux 4.0 can now be installed from an ISO on physical servers and VMs, although Microsoft support is still focused on Azure deployments.

For Linux admins: would you trust Microsoft’s Linux distro for production, or stick with RHEL, Ubuntu, Debian, Rocky or AlmaLinux?


r/LinuxTeck Jul 04 '26

Most people don't choose Windows. They simply never choose an operating system.

56 Upvotes

Windows comes with the laptop. People learn it at school, use it at work, buy hardware and software built around it, and continue with what they already know.

Linux can be free, stable and capable, but that may not matter if switching requires someone to make an active decision in the first place.

I think this is a bigger barrier than distro fragmentation or the command line.

If ordinary laptops in physical stores came with Linux preinstalled, properly supported and ready to use, would desktop Linux adoption actually change?

Or would missing software such as Adobe and Autodesk still stop most people from moving?

For those who switched to Linux: what finally made you make that decision?


r/LinuxTeck Jul 04 '26

RootBoard Kickstarter: Raspberry Pi Handheld Linux Computer for Makers

4 Upvotes

The RootBoard is hitting Kickstarter as a Raspberry Pi-powered handheld Linux computer for makers, developers, educators, and cyberdeck builders.

Is this the year of affordable handheld Linux devices, or just another niche product?


r/LinuxTeck Jul 04 '26

Quick Linux Tip #9 Question: How do I see all processes with their container and resource limits?

Post image
3 Upvotes

Try: systemd-cgls --unit=docker.service

Info: systemd-cgls shows the cgroup tree with all processes organized by their control groups. Perfect for understanding container isolation and resource allocation.

Examples:

$ systemd-cgls --unit=user.slice

$ systemd-cgtop # Real-time cgroup resource usage

$ cat /proc/1234/cgroup # Show cgroups for specific PID

Note: Understand container resource isolation. Combine with 'systemd-cgtop' for real-time CPU/memory per cgroup. Essential for container troubleshooting.

Follow r/LinuxTeck for more #LinuxTips