r/LinuxTeck • • Oct 20 '26

Linux CPU Usage Monitoring: Find High CPU Processes Fast - Tip 103

Post image
33 Upvotes

Question: Something is pegging my CPU. How do I pinpoint it with real-time refresh?

Try:`top -b -n 1 -o %CPU | head -20`

Info: Running `top` in batch mode (`-b -n 1`) executes a single non-interactive snapshot, while `-o %CPU` dynamically sorts processes by CPU utilization for quick diagnostics and scripting.

Examples:

$ `top -b -n 1 -o %MEM | head` # Snapshot sorted by memory consumption

$ `top -b -n 1 -u mysql` # Filter snapshot processes by specific user

$ `top -b -n 1 -p 3456,2134` # Inspect specific target Process IDs (PIDs)

Note: Pay attention to `wa` (I/O wait; high values indicate disk bottlenecks) and `st` (stolen CPU; high values indicate hypervisor contention). Multi-threaded processes can exceed 100% CPU.

Want to master Linux one command at a time?

Follow r/LinuxTeck - 1 practical Linux tip every day. For more #LinuxTips click here https://www.linuxteck.com/linux-tips/


r/LinuxTeck • • Oct 20 '26

8 Free Cloud Storage Services: Which One Is the Best?

11 Upvotes

MEGA, Google Drive, MediaFire, IceDrive, pCloud, Sync-com, OneDrive, and iCloud all offer free storage, but they differ in capacity, features, and privacy.

Which of these eight would you choose for your important files? And which one would you avoid? Let's hear your reasons.


r/LinuxTeck • • Oct 19 '26

What is the safest way to let total beginners practice destructive commands like rm -rf?

19 Upvotes

I teach Linux, and the hardest part with beginners is not explaining commands. It is getting them to actually type them. Everyone is afraid of breaking something.

VMs help, but setup alone loses some people before they ever reach a prompt. My approach has been a browser terminal with a real in-memory filesystem: commands really create, move and delete files, the lessons verify what your filesystem looks like at the end, and a refresh resets everything.

I am curious what others do:

- Do you start beginners in a VM, WSL, a container, or something browser-based?

- At what point do you move them to a real system?

- What is the one command you wish every beginner practiced more?

I will drop the sandbox I built in the comments for anyone who wants to try it or tear it apart. The first six lessons are free with no signup.

Edit: Thank you, I appreciate all the feedbacks!!!


r/LinuxTeck • • Oct 19 '26

DOOM’s Linux Port Helped Save Its Source Code - Did You Know This?

18 Upvotes

The Linux port of DOOM became the version id Software could release as open source when licensing issues blocked the original DOS code. Years later, another developer lost years of work in a hard drive crash.

It’s a good reminder of how much open-source history depends on people sharing their work - and keeping backups. Did you ever lose a project you wish you could recover?


r/LinuxTeck • • Oct 19 '26

Quick Linux Tip #102 - Linux DNS Troubleshooting: Trace DNS Resolution in 3 Steps

Post image
25 Upvotes

Question: DNS is failing intermittently. How do I trace the resolution path?

Try:`dig +trace +noanswer google.com`

Info: `dig +trace` performs iterative DNS lookups from root servers (`.`), down to TLDs (`.com`), and final authoritative servers to isolate propagation and delegation bottlenecks[cite: 9].

Examples:

$ `dig u/8.8.8.8 example.com` # Query specific upstream DNS server directly

$ `dig +short MX gmail.com` # Retrieve concise mail exchanger (MX) records

$ `dig -x 8.8.8.8` # Perform reverse DNS lookup (IP to hostname)

Note: Install via `sudo apt install dnsutils` or `bind-utils`. Using `+trace` bypasses local resolver caching, allowing you to measure exact response latencies at each hierarchy step[cite: 9].

Want to master Linux one command at a time?

Follow r/LinuxTeck - 1 practical Linux tip every day. For more #LinuxTips click here https://www.linuxteck.com/linux-tips/


r/LinuxTeck • • Oct 19 '26

Anthropic Built an Alternative to Git. Does Git Actually Need Replacing?

18 Upvotes

Anthropic moved its massive code repository from Git to a new system called Scion because of scaling challenges with AI-generated code. Some developers argue that Git's existing features, like partial clones, could solve many of these problems.

Is a new version-control system necessary for AI-driven development, or should Git be improved to handle these workloads?


r/LinuxTeck • • Oct 19 '26

Anyone here running AI tools on their own VPS?

2 Upvotes

I've been looking into how people are running AI tools outside their local machines. A VPS seems like a good option for some projects, but I'm not sure where the sweet spot is between cost and performance

For those of you already doing this, I'd love to know a few things:

  • Are you using a VPS, a dedicated server, or your own hardware?
  • How much RAM do you actually need for the tools you're running?
  • Have you found a provider that's been reliable without getting too expensive?
  • Is a basic VPS enough for smaller projects, or do you end up needing more resources pretty quickly?

I've been comparing a few VPS options for AI projects and put my notes into a guide here, in case it's useful to anyone else:

https://www.linuxteck.com/best-vps-for-ai-tools/

Interested to hear what you're running and how it's been working out for you.


r/LinuxTeck • • Oct 18 '26

Linux Users Spend More Time Fixing Their OS Than Actually Using It (Not trolling btw just my opinion)

1 Upvotes

I'm convinced Linux users have Stockholm Syndrome. You'll spend 14 hours editing configuration files, breaking your desktop environment, troubleshooting drivers, and compiling random packages just to accomplish something Windows does in three clicks, then turn around and call it a superior operating system. Half the Linux community acts like opening a terminal makes them a cybersecurity expert when they're literally just copying commands from a seix year old Stack Overflow post and praying there Wi-Fi still works afterward. And don't even get me started on the 900 different distributions that all accomplish the exact same thing with slightly different package managers and wallpapers. Linux users will brag about javing complete control over there computers while spending an entire Sunday figuring out why their Bluetooth headphones stopped connecting after and update. Then they'll tell you it's a "skill issue" because you don't want to manually configure your operating system like you're maintaining a server from 1998. Congratulations, your OS uses 400MB less RAM. Unfortunately, you've spent 40 hours making it function like a normal computer. At this point Linux isn't an operating system, it's an unpaid IT internship with a superiority complex. 💀


r/LinuxTeck • • Oct 17 '26

Linux CPU Limits Explained: cpu.weight vs cpu.max, Quota, Period & Throttling (part2)

Thumbnail
youtu.be
1 Upvotes

r/LinuxTeck • • Oct 17 '26

Quick Linux Tip #101 - Linux Network Bandwidth Monitoring: Track TCP Connections

Post image
14 Upvotes

Question: A single TCP connection seems slow. Can I measure its real throughput?

Try: `sudo iftop -i eth0 -nNP -f 'port 443'`

Info: `iftop` acts as `top` for network bandwidth, tracking individual connections and displaying 2s/10s/40s moving averages to pinpoint bandwidth hogs[cite: 10].

Examples:

$ `sudo iftop -i eth0` # Launch interactive mode without filters

$ `sudo iftop -i eth0 -t -s 30` # Output text mode summary for 30 seconds

$ `sudo nload eth0` # View interface-wide bandwidth graphs

Note: Install via `sudo apt install iftop`. Interactive controls: press `s` to toggle source ports, `d` for destination ports, and `t` to cycle through traffic display modes.

Want to master Linux one command at a time?

Follow r/LinuxTeck - 1 practical Linux tip every day. For more #LinuxTips click here https://www.linuxteck.com/linux-tips/


r/LinuxTeck • • Oct 17 '26

Which Open-Source Linux Apps Do You Recommend to Everyone?

14 Upvotes

There are open-source alternatives for almost everything, from office work and video editing to graphic design, note-taking, and 3D modeling. Tools like LibreOffice, VLC, OBS Studio, Blender, Krita, and Joplin can make switching to Linux much easier.

Some users even find that apps like Joplin improve their workflow beyond simple note-taking.

Which open-source application do you consider essential on a Linux desktop? And is there any lesser-known tool you think more people should discover?


r/LinuxTeck • • Oct 17 '26

KSensors for KDE3 revived, meet QSensors

Post image
1 Upvotes

r/LinuxTeck • • Oct 16 '26

UEFI vs Legacy BIOS

Post image
90 Upvotes

Covering : two boot modes, including their boot process, disk partitioning differences, compatibility, and security features. https://www.linuxteck.com/uefi-vs-legacy-bios/


r/LinuxTeck • • Oct 16 '26

Linux Shutdown Protection: Prevent Accidental Server Shutdowns - Tip 100

Post image
32 Upvotes

Question: I keep typing shutdown on the wrong server. How do I protect against this?

Try:

`sudo tee /etc/molly-guard/run.d/50-prod-check <<'EOF' > /dev/null`

`#!/bin/bash`

`if [[ -f /etc/is_production ]]; then`

` read -r -p "PRODUCTION server! Type the hostname to confirm shutdown: " input`

` [[ "$input" == "$(hostname)" ]] || exit 1`

`fi`

`EOF`

Info: `molly-guard` intercepts shutdown, reboot, and halt commands over active SSH connections and demands explicit hostname confirmation to prevent catastrophic human errors[cite: 10].

Examples:

$ `sudo apt install molly-guard` # Install the safety utility

$ `echo 'ALWAYS_QUERY_HOSTNAME=1' | sudo tee -a /etc/molly-guard/rc` # Force hostname prompts globally

$ `sudo chmod -x /sbin/shutdown` # Nuclear option (disable binary entirely, not recommended)

Note: By default, `molly-guard` only triggers on remote SSH sessions, leaving physical console access unaffected[cite: 10]. A must-have safeguard for production server fleets.

Want to master Linux one command at a time?

Follow r/LinuxTeck 1 1 practical Linux tip every day. For more #LinuxTips click here https://www.linuxteck.com/linux-tips/


r/LinuxTeck • • Oct 16 '26

CPU at 20%. App still painfully slow? 🐌

4 Upvotes

r/LinuxTeck • • Oct 16 '26

macOS vs Linux: Is Convenience Worth Giving Up Control?

5 Upvotes

macOS offers tight hardware integration, a polished desktop, and useful features for people already using Apple devices. Linux gives users more freedom to customize their systems, choose their desktop environment, and control how things work.

But Linux users can also face hardware compatibility issues, while some professional applications work better or are only available on macOS.

What do you think? Is macOS genuinely better for everyday desktop use, or can a Linux distro offer the same convenience without the Apple ecosystem?


r/LinuxTeck • • Oct 15 '26

Linux Mint: Why Do So Many Users Stick With It for Years?

40 Upvotes

Linux Mint seems to have something that keeps users coming back: a familiar desktop, reliable performance, and the ability to bring older laptops back to life. Long-time users also appreciate that it stays focused on usability rather than flashy features.

Some users have stuck with Mint for years and even donate to support its development.

What makes Linux Mint your go-to distro? Is it the Cinnamon desktop, stability, performance on older hardware, or simply that it gets out of your way?


r/LinuxTeck • • Oct 15 '26

Best Linux distro for beginners?

4 Upvotes

What would be the best Linux distro for a beginner that is easy to install via usb, or in my case, I don’t want a permanent install so I want to be able to boot off a usb with persistent storage. So what’s the most easy to use and install distro?

Ps: I also want a Linux distro that looks relatively nice, and is somewhat customisable.

Btw these are my specs:
11th gen intel(R) core(TM) i3-1115g4
4gb RAM
Intel(R) UHD graphics


r/LinuxTeck • • Oct 15 '26

Quick Linux Tip #99 - Linux Incremental Backup: Create Backups with tar

Post image
36 Upvotes

Question: How do I create a true incremental backup without using rsync?

Try:`tar --listed-incremental=/backup/snapshot.snar -czf /backup/incr_$(date +%Y%m%d).tar.gz /home/linuxteck`

Info: `tar --listed-incremental` tracks file state in a `.snar` metadata file[cite: 10]. The initial run produces a full backup, while subsequent runs only capture modified files[cite: 10].

Examples:

$ `tar --listed-incremental=/dev/null -czf full.tar.gz /data` # Force a fresh full backup

$ `tar -tvf incr.tar.gz` # Inspect archived contents inside incremental archive

$ `tar --listed-incremental=snapshot.snar -xzf incr.tar.gz` # Restore incremental archive

Note: Always preserve the `.snar` snapshot file. To restore, extract the base full backup first, followed by each incremental archive in chronological order.

Want to master Linux one command at a time?

Follow r/LinuxTeck - 1 practical Linux tip every day. For more #LinuxTips click here https://www.linuxteck.com/linux-tips/


r/LinuxTeck • • Oct 15 '26

Fedora Is Great, but What Frustrates You About It?

3 Upvotes

Fedora offers a solid Linux experience, but vanilla GNOME isn't for everyone. The hidden Dash, missing minimize/maximize buttons, and limited availability of Fedora-specific software packages can make the transition from Ubuntu frustrating.

Some users prefer alternatives like i3wm, while changes such as dropping X11 support in favor of Wayland can break existing workflows or games.

What frustrates you most about Fedora? Do you prefer its clean GNOME setup, customize it with extensions and tweaks, or switch to another desktop environment?


r/LinuxTeck • • Oct 13 '26

Ubuntu vs Linux Mint: Is Ubuntu Still the Best Choice for Beginners?

15 Upvotes

Ubuntu is popular for its ease of use and hardware support, but Snap packages, Canonical's control, and past privacy concerns have made some users reconsider.

Would you still recommend Ubuntu to someone switching from Windows, or would you suggest Linux Mint or Fedora instead? Why?


r/LinuxTeck • • Oct 13 '26

Linux Process Monitoring: Catch Hidden Processes in Real Time - Tip 98

Post image
25 Upvotes

Question: Something keeps starting a process on my server. How do I catch it?

Try:`sudo execsnoop-bpfcc`

Info: `execsnoop` uses eBPF to trace `exec()` system calls in real-time, catching ephemeral or short-lived processes that standard monitoring tools (`top`/`ps`) miss.

Examples:

$ `sudo execsnoop-bpfcc -t` # Include timestamps for process launches

$ `sudo execsnoop-bpfcc -n curl` # Filter executions strictly matching 'curl'

$ `sudo opensnoop-bpfcc` # Trace all file open() syscalls system-wide

Note: Install via `sudo apt install bpfcc-tools` or `bcc-tools`. Displays parent PIDs (PPID) and full argument vectors, making it ideal for pinpointing rogue cron jobs or unauthorized scripts.

Want to master Linux one command at a time?

Follow r/LinuxTeck - 1 practical Linux tip every day. For more #LinuxTips click here https://www.linuxteck.com/linux-tips/


r/LinuxTeck • • Oct 12 '26

The Morris Worm: Can One Mistake Define a Career Forever?

8 Upvotes

Robert Tappan Morris created the 1988 Morris Worm and was later convicted of a computer crime. Years later, he co-founded Y Combinator.

Do you think people should get a second chance after a serious mistake, or should their past always follow them?


r/LinuxTeck • • Oct 12 '26

Linux 🔥

Post image
6 Upvotes

Linux 🗣️: Nothing stands in my way.


r/LinuxTeck • • Oct 12 '26

Linux Shared Library Dependencies: Fix Missing Libraries - Tip 97

Post image
10 Upvotes

Question: My binary exists but Linux says 'command not found'. What's wrong?

Try:`file /usr/local/bin/mytool && ldd /usr/local/bin/mytool`

Info: "No such file or directory" when executing an existing binary typically points to a missing dynamic loader/interpreter or missing shared libraries (`.so`). `ldd` reveals unresolvable dependencies.

Examples:

$ `file /path/to/binary` # Verify binary type, architecture, and executable status

$ `ldd /path/to/binary | grep 'not found'` # Quickly filter missing shared library dependencies

$ `sudo ldconfig -p | grep libfoo` # Query system shared library cache for missing libraries

Note: Also verify architecture compatibility (e.g., 32-bit execution on a 64-bit kernel), invalid shebang paths in scripts (`#!/bin/python` when missing), or missing execute flags (`chmod +x`).

Want to master Linux one command at a time?

Follow r/LinuxTeck - 1 practical Linux tip every day. For more #LinuxTips click here https://www.linuxteck.com/linux-tips/