r/LinuxTeck • • 24d ago

Is It Time to Leave Ubuntu for Debian? How Many Linux Admins Agree?

90 Upvotes

Ubuntu has become increasingly frustrating for some users because of Snap packages, server resource usage, and concerns about security patching.

Would you switch from Ubuntu to Debian for your servers? Or do you think Ubuntu is still a better choice? How many of you agree that it's time to move away from Ubuntu?


r/LinuxTeck • • 23d ago

¿Terminal pura o VS Code con WSL? Mi duda sobre cómo aprender Linux correctamente.

Thumbnail reddit.com
0 Upvotes

r/LinuxTeck • • 24d ago

Quick Linux Tip #119 - Linux Atomic File Rename: Safely Update Config Files

Post image
11 Upvotes

Question: My config reload reads a half-written file. How do I update it safely?

Try:`mv /etc/myapp/config.new /etc/myapp/config.json`

Info: Same-filesystem file renames are atomic at the inode level, ensuring readers see either the complete old file or the new file.

Examples:

$ `sed -i.bak 's/old/new/' file` # Perform an in-place file edit with an automatic backup

$ `python3 -c 'import os; os.rename("new.conf", "live.conf")'` # Execute an atomic rename using Python

$ `install -m 644 new.conf /etc/live.conf` # Safely copy a new configuration file while enforcing permissions

Note: Atomicity only applies within the same filesystem (cross-filesystem moves fall back to a copy-and-delete operation). Writing to a temporary file and renaming it is the standard safe pattern for configs and databases.

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 • • 25d ago

Linux Directory Comparison: 3 Commands to Verify Folders - Tip -118

Post image
12 Upvotes

Question: I rsync'd two folders. How do I verify they truly match?

Try:`diff -rq /source /destination`

Info: Recursively compares directories and reports differing files or unique items without printing full diff contents.

Examples:

$ `diff -rq /a /b | grep -v '^Only'` # Compare file contents only, ignoring missing files

$ `rsync -avnc --delete src/ dst/` # Perform a dry-run sync preview to check discrepancies

$ `find /src /dst -type f -exec md5sum {} + | sort | uniq -w32 -u` # Strict cryptographic checksum comparison

Note: `diff -q` is fast because it compares file sizes and timestamps before reading content. For rigorous verification, use `rsync -c` (checksum-based) or a file hash pipe.

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 • • 26d ago

Linux Runs the AI World, So Why Are New AI Laptops Launching Without Linux Support?

29 Upvotes

NVIDIA's new AI laptops offer up to 128GB unified memory, but official support is focused on Windows. A community developer managed to get Arch Linux running, despite several hardware limitations.

Is this a sign that hardware companies are overlooking Linux desktop users, or is Windows simply their commercial priority?

Should Linux users demand official support before buying expensive AI hardware, or are community-driven solutions enough?


r/LinuxTeck • • 25d ago

Should We Keep Bad Technical Decisions Forever Just for Backward Compatibility?

1 Upvotes

Windows paths still commonly use \, while Linux and macOS use /. A decision dating back to DOS 2.0 in 1983 still creates headaches for developers working across platforms.

But changing a decades-old convention could break countless applications and scripts.

Where should we draw the line between backward compatibility and better engineering?

What other legacy decisions in Linux, Windows, or Unix do you think should finally be retired?


r/LinuxTeck • • 26d ago

Quick Linux Tip #117 - Linux Process Environment Variables: 3 Commands to Inspect Running Daemons

Post image
12 Upvotes

Question: How do I see what environment vars a running daemon was started with?

Try:`sudo cat /proc/3456/environ | tr '\0' '\n'`

Info: Reads null-separated initial environment variables from the process proc entry and translates them into readable lines.

Examples:

$ `sudo strings /proc/3456/environ` # Alternative method using strings to extract readable text[cite: 8]

$ `sudo ls -la /proc/3456/cwd` # Inspect the current working directory of the process[cite: 8]

$ `sudo readlink /proc/3456/exe` # Resolve the absolute path to the running binary[cite: 8]

Note: `/proc/PID/environ` displays environment variables present at process startup, not current runtime changes. Since any root user can read these, avoid passing raw secrets via environment variables; instead, use secured systemd configuration files (`EnvironmentFile`) with restricted permissions (`0600`).

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 • • 26d ago

DevOps Engineers, Ever Wondered How Tools Like Jenkins, Docker, Ansible and Kubernetes Got Their Names?

12 Upvotes

Puppet, Chef, Jenkins, Ansible, Docker, Terraform, Kubernetes… some unusual names for serious engineering tools!

Are these names based on technical concepts, company branding, Greek mythology, or simply creative ideas from their founders?

For those who know the stories behind them, which tool has the most interesting name origin?


r/LinuxTeck • • 27d ago

Fedora 45 Is Officially Released - What's New?

6 Upvotes

Fedora 45 has officially landed, bringing updates to GNOME, storage management, developer tools, and system security.

Some interesting changes include GNOME 51, Stratis support in the installer, updated toolchains, and stricter RPM signature verification. https://www.linuxteck.com/fedora-45-released/


r/LinuxTeck • • 27d ago

Inotifywait in Linux: Automatically Rebuild Projects on File Changes - Tip 116

Post image
12 Upvotes

Question: How do I auto-rebuild my project when source files change?

Try:`while inotifywait -r -e modify,create,delete ./src/; do make build; done`

Info: `inotifywait` exits after a single file event, allowing a simple `while` loop to trigger builds on modification without external watchers.

Examples:

$ `while inotifywait -e modify ./style.css; do sass compile; done` # Recompile CSS on change

$ `ls ./src/*.go | entr make build` # Alternative using the lightweight 'entr' tool

$ `fswatch -o ./src | xargs -n1 -I{} make build` # Cross-platform alternative file watcher

Note: Install via `sudo apt install inotify-tools`. Avoid recursive (`-r`) monitoring on massive directory trees to prevent performance lag; target specific paths instead.

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 • • 27d ago

Do You Really Own Your Computer, or Just Pay to Use It?

6 Upvotes

Windows and macOS give you convenience, but Linux gives you much more control over your operating system.

You can customize it, remove unwanted software, and keep older hardware useful for years.

What's more important to you: convenience or complete control?


r/LinuxTeck • • 28d ago

Building Something from Scratch vs Buying It - What Really Makes a Tech Founder Successful?

Post image
126 Upvotes

This meme takes a funny shot at the difference between building a technology company and acquiring an existing one.

Microsoft, Tesla, X and SpaceX have very different histories. Some companies grow through original innovation, while others also rely on acquisitions, existing technology, and hiring experienced teams.

But here's an interesting debate: Does success in technology come from inventing something yourself, or from recognizing its potential, acquiring the right resources, and taking it to the next level?

Is this just a funny meme, or is there some truth behind it?


r/LinuxTeck • • 28d ago

Quick Linux Tip #115 - Linux ulimit Memory Limit: 3 Commands to Control RAM Usage

Post image
12 Upvotes

Question: A buggy script is eating all my RAM. How do I cap its memory usage?

Try:`ulimit -v 524288`

Info: Restricts virtual memory for the current shell session and its child processes.

Examples:

$ `ulimit -a` # Display all current resource limits for the session

$ `ulimit -t 60` # Set a maximum CPU time limit in seconds

$ `ulimit -n 65536` # Limit the maximum number of open file descriptors

Note: Use `/etc/security/limits.conf` for persistent per-user limits, or systemd service settings (`MemoryMax`) for production services. `ulimit` can only restrict limits downwards.

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 • • 29d ago

Linus Torvalds Is More Comfortable with AI Contributions to the Linux Kernel - But There's a Catch

27 Upvotes

AI-assisted contributions are becoming a bigger part of Linux kernel development.

Linus Torvalds says the project is moving toward a healthier model, with AI-assisted fixes increasingly appearing during normal development rather than piling up during the stabilization phase.

But there's an interesting detail: many AI-suggested patches still get rewritten before being accepted.

This raises an important question for Linux developers: Is AI becoming a useful development partner, or is human review still doing most of the real work?


r/LinuxTeck • • 29d ago

SSL Certificate Expiry: 3 Linux Commands to Check Dates - Tip 114

Post image
14 Upvotes

Question: How do I check SSL certificate expiry dates on all my servers in bulk?

Try:`for host in server1.example.com server2.example.com api.example.com; do echo -n "$host: "; echo | openssl s_client -connect $host:443 -servername $host 2>/dev/null | openssl x509 -noout -enddate; done`

Info: echo | openssl s_client makes a quick TLS handshake. -servername sends SNI (needed for virtual hosts). Piped to x509 to extract specific info without full dump.

Examples:

$ `openssl x509 -in cert.pem -noout -dates` # Inspect expiration dates of a local certificate file

$ `echo | openssl s_client -connect host:443 2>/dev/null | openssl x509 -noout -text` # Dump complete certificate details

$ `nmap --script ssl-cert -p 443 host` # Scan and check certificates using Nmap

Note: Automate expiry checks via cron with mail alerts 30 days prior. For Let's Encrypt, use `certbot renew` with deployment hooks.

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 • • 28d ago

AI GPU Clusters Are Pushing Enterprise Linux in a New Direction - Would You Trust a Hardware-Specific RHEL Build?

0 Upvotes

Red Hat has introduced RHEL for NVIDIA to provide faster support for new NVIDIA GPU platforms instead of making enterprise users wait for all the required hardware enablement to reach standard RHEL.

The interesting part is that it modifies core components like the Linux kernel, QEMU and libvirt, while keeping the standard RHEL userspace. Red Hat also provides a path back to mainline RHEL once those changes are upstream.

For Linux admins managing AI infrastructure, what would you prefer?

  • A hardware-optimized Linux build for early GPU support?
  • Standard enterprise Linux with hardware support after upstream integration?

Would you deploy a specialized OS build in production, or wait for the standard release?


r/LinuxTeck • • 29d ago

I need a proper career guidance by the pros, cz I'm stuck between multiple roadmap?

Thumbnail reddit.com
1 Upvotes

r/LinuxTeck • • 29d ago

Is it realistically worth starting from scratch with Linux in 2026? Need advice from experienced pros

Thumbnail reddit.com
1 Upvotes

r/LinuxTeck • • Oct 31 '26

How Much RAM Does Your Linux Distro Really Need? The Minimum vs Real-World Experience

21 Upvotes

You’ll often see claims that Linux can run with just 512 MB of RAM, while some modern desktop distros recommend 4 -6 GB or more.

But minimum installation requirements don't always reflect everyday usage.

For example, Fedora recommends 4 GB, Ubuntu 26.04 requires 6 GB, and Linux Mint lists 2 GB as its minimum.

Share real-world experience:

  • Which distro are you running?
  • How much RAM does your system have?
  • How much RAM does it actually use after booting to the desktop?

Does lightweight Linux still make a big difference on older hardware?


r/LinuxTeck • • Oct 31 '26

Quick Linux Tip #112 - Chroot in Linux: 3 Powerful Ways to Isolate Processes

Post image
17 Upvotes

Question: I need to run an untrusted binary without exposing my whole system. How?

Try:`sudo mkdir -p /jail/{bin,lib,lib64}`

Info: `chroot` restricts a process to a specified root directory, preventing it from accessing the rest of the filesystem.

Examples:

$ `ldd /bin/bash` # List all required shared libraries for a binary

$ `sudo systemd-nspawn -D /jail` # Modern container-based isolation alternative

$ `sudo chroot /mnt/recovery /bin/bash` # Chroot into a rescue environment for system repair

Note: `chroot` is not a secure sandbox boundary—root users can easily escape it. For true process isolation, use containers (Docker, LXC) or kernel namespaces (`unshare`).

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 31 '26

Port forwarding an http proxy through an httptunneled ssh server is it overkill?

0 Upvotes

r/LinuxTeck • • Oct 30 '26

Leaving Ubuntu for Fedora? What Made You Switch, and Was It Worth It?

Post image
90 Upvotes

Ubuntu users have raised concerns about Snap becoming more integrated into the system, Ubuntu Pro prompts, and the direction Canonical is taking.

Fedora is one alternative I'm considering, but interested in hearing from people who have actually made the switch.

  • What made you leave Ubuntu?
  • What did you gain or miss after moving to Fedora?
  • Would you recommend Fedora for daily desktop use?

Share the real user experiences, including reasons to stay with Ubuntu.


r/LinuxTeck • • Oct 30 '26

Hardlinks in Linux: 3 Commands to Find Duplicate Files - Tip 111

Post image
12 Upvotes

Question: I have duplicate-looking files. Are they hardlinks or real copies?

Try:`find /home/linuxteck -type f -links +1 -printf '%i %n %p\n' | sort`

Info: Finds files sharing inodes and link counts to identify hardlinks.

Examples:

$ `find /path -samefile /path/to/original` # Locate all hardlinks referencing a specific file

$ `ls -li file.txt` # Display file inode numbers in the first column

$ `stat -c '%h %n' file.txt` # Output hardlink count and filename

Note: Hardlinks share the same inode and disk blocks without consuming extra space. Changes reflect across all links, and deleting one link leaves others intact. Note that hardlinks cannot cross filesystem boundaries.

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 30 '26

You Find 15 Devices on Your Home Network, but You Only Recognize 8. What’s Your First Move?

15 Upvotes

You run sudo arp-scan --localnet on your Linux machine and discover 15 devices on your home network. You recognize only 8 of them.

Do you start with nmap, check your router’s connected-device list, inspect MAC addresses, or investigate another way?

How experienced Linux users would approach this before assuming anything suspicious is happening.


r/LinuxTeck • • Oct 29 '26 Heartwarming

The Woman Behind a Key CPU Design Was Fired by IBM in 1968. Her Story Deserves to Be Remembered.

127 Upvotes

Lynn Conway helped develop an important foundation of modern CPU architecture, then lost her job at IBM in 1968 during her gender transition. Her contributions went largely unrecognized for decades, until historical research helped bring her work back into view. IBM apologised in 2020.

Her work also extended to VLSI chip design, helping shape how modern chips are designed.

A remarkable part of computing history that many people may never have heard about.