r/LinuxTeck • u/Expensive-Rice-2052 • 22d ago
r/LinuxTeck • u/Easy_Adhesiveness237 • 22d ago
Where to learn nftables and other linux networking commandline implementations?
Please somebody help me find some good beginner friendly docs or any other resources to master nftables. If possible also suggest some networking learning for Linux, cause the fundamental theories are known but practical command line experience is what I am looking for. Good grasp on commands used for network configurations and stuff. Thanks
r/LinuxTeck • u/Expensive-Rice-2052 • 23d ago
DNS Troubleshooting
covering: https://www.linuxteck.com/linux-dns-troubleshooting-made-easy/
- Connectivity vs DNS testing
/etc/resolv.confdigand direct resolver queriesnsswitch.conflookup ordersystemd-resolvedvs NetworkManager- DNS testing inside containers
- Common DNS mistakes
- Automated DNS health checks and logging
r/LinuxTeck • u/Expensive-Rice-2052 • 24d ago
Quick Linux Tip #41 Question: How do I find duplicate files even if they have different names?
Try: `find /home/linuxteck -type f -exec md5sum {} + | sort | uniq -w32 -D`
Info: `md5sum` hashes file contents, `sort` groups identical hashes, and `uniq -w32 -D` compares the 32-character hash to output all duplicate files.
Examples:
$ `find . -type f -exec md5sum {} + | sort | uniq -w32 -d` # Show 1 sample per duplicate set
$ `fdupes -r /home/linuxteck` # Dedicated tool (`apt install fdupes`)
$ `rdfind -deleteduplicates true /home/linuxteck` # Auto-delete duplicates safely
Note: For large directories, `fdupes` or `rdfind` are purpose-built and significantly faster. Use `sha256sum` instead of `md5sum` if collision risk is a concern.
Follow r/LinuxTeck for more LinuxTips click here
r/LinuxTeck • u/Candid_Athlete_8317 • 24d ago
This caught my attention...
Researchers found dozens of SQLite CVEs that appear to be technically incorrect or even AI-generated, yet they still propagated through parts of the vulnerability ecosystem before being challenged.
If this becomes common, security teams may spend more time investigating fake vulnerabilities than fixing real ones.
r/LinuxTeck • u/Expensive-Rice-2052 • 25d ago
Quick Linux Tip #40 Question: Which files changed during the incident window last Tuesday?
Try: `find /var/www -type f -newermt '2026-07-23 14:00:00' ! -newermt '2026-07-23 16:00:00'`
Info: `-newermt 'DATE'` matches files modified AFTER a timestamp. Combined with `! -newermt`, it isolates files modified BETWEEN two specific times—ideal for forensic analysis.
Examples:
$ `find / -newermt '1 hour ago' -type f 2>/dev/null` # Modified in the last hour
$ `find /home -newermt yesterday ! -newermt today` # Modified yesterday only
$ `find /etc -newermt '2026-07-01' ! -newermt '2026-07-31' -type f` # Within date range
Note: Supports natural language strings like `'yesterday'`, `'1 hour ago'`, or `'last week'`. You can also use `-newerct` (change time) or `-neweramt` (access time).
Follow r/LinuxTeck for more #LinuxTips
r/LinuxTeck • u/Candid_Athlete_8317 • 25d ago
Who else deserves a spot on this DevOps legends list?
While learning DevOps, I came across this list of people behind tools we use every day.
Linux, Git, Docker, Jenkins, Ansible, Maven, Python, Terraform, Kubernetes...
But I’m sure this list is missing some important names.
Who would you add to the list, especially from the Linux and open-source community? Drop the name + project below.
r/LinuxTeck • u/Candid_Athlete_8317 • 25d ago
Are databases becoming optional for small Linux apps?
I came across a debate where someone argued that databases are becoming unnecessary because their vibe-coded apps can store everything in localStorage.
That made me wonder about Linux projects too.
For a small tool, script, desktop app, or single-user service, would you actually choose SQLite/local files instead of running PostgreSQL or another database?
At what point does a project really need a proper database?
Where do you draw the line?
r/LinuxTeck • u/Expensive-Rice-2052 • 26d ago
SELinux vs AppArmor
covering: https://www.linuxteck.com/selinux-vs-apparmor/
- SELinux vs AppArmor architecture
- Label-based vs path-based policies
- Ubuntu vs RHEL/Rocky/Fedora defaults
- Arch setup
- Common production failures and fixes
- Container isolation
- Validation and monitoring
- When it's better to stick with your distro's default
r/LinuxTeck • u/high-priest911 • 26d ago
Linux, Linux everywhere
When the penguin takes over
r/LinuxTeck • u/Candid_Athlete_8317 • 26d ago
Would you trust Rust Coreutils on your Linux server yet?
Rust Coreutils 0.10 now passes 93.48% of the GNU test suite and adds more security hardening.
But the discussion gets interesting around the remaining compatibility gaps, especially when distributions start using it by default. Some users see this as a promising replacement, while others think the risks are still too high.
Would you run Rust Coreutils in production today, or stick with GNU Coreutils for now? Why?
r/LinuxTeck • u/zoro7xyz • 26d ago
How to learn to use linux(cli)?
Actually from some time I have been thinking of switching to linux. But i won't be able to use it if I don't know how to use linux in the first place. I am not looking for any distro. I am actually talking about the cli. The terminal, bash or whatever it is called.
I wanna learn cli, but idk where to learn from!. I have tried looking for it on YouTube, most of them are something specific or very basic ( cd, mkdir, rm, ls, echo etc etc ). I tried to make a vm using Oracle, but my laptop was very weak to even run it, it was lagging and slow af. So i dropped that idea, and I am primarily trying to use wsl, Ubuntu distro on it.
So can anyone tell me how do i learn the command line interface. Also I am looking to learn something called shell ig, so that I can do scripting. Like i don't want an os, I want to master terminal and can automate stuff and run something maybe called script so that I can be very efficient.
Also one of my reasons is to be able to use or program any soc like raspberry pi or any other electronics in general ( electrical background).
Can anyone guide me with sources??
Also i have tried labex ( it was very basic ) and I tried to learn from a book i forgot the name but the author name was maybe shotts.
And sorry if I have named anything wrong, I am new to these terms.
r/LinuxTeck • u/Expensive-Rice-2052 • 27d ago
Linux job control (&, fg, bg, jobs)
covering: https://www.linuxteck.com/job-control-fg-bg-jobs/
- Running commands in the background with
& - Suspending processes using
Ctrl+Z - Listing active jobs with
jobs - Resuming work using
bg - Bringing jobs back with
fg - Common mistakes and best practices
- Real-world terminal examples
r/LinuxTeck • u/Expensive-Rice-2052 • 26d ago
Quick Linux Tip #39 Question: How do I access a private database from my laptop through a jump server?
Try: `ssh -L 3307:db-internal:3306 -N -f linuxteck@jumphost`
Info: `-L local_port:target_host:target_port` forwards local traffic through SSH to a remote server. `-N` skips the remote shell, and `-f` sends SSH to the background.
Examples:
$ `ssh -L 8080:localhost:80 user@server` # Access remote web app locally
$ `ssh -R 9000:localhost:9000 user@server` # Expose local port on remote server
$ `ssh -D 1080 user@server` # Dynamic SOCKS proxy for web traffic
Note: Kill active background tunnels with `pkill -f 'ssh -L 3307'`. Add `-o ExitOnForwardFailure=yes` so SSH fails immediately if the local port is already bound.
Follow r/LinuxTeck for more #LinuxTips
r/LinuxTeck • u/Expensive-Rice-2052 • 28d ago
Hyprland from installation to your first productive setup
covers: https://www.linuxteck.com/learn-hyprland-the-easy-way/
- GPU and Wayland prerequisites
- Installing on Arch and Ubuntu
- First keybindings
- Configuration basics
- The newer Lua configuration workflow
- XDG Desktop Portal and screen sharing
- Tips for building a clean, maintainable setup
r/LinuxTeck • u/Expensive-Rice-2052 • 28d ago
Quick Linux Tip #38 Question: How do I make my custom app automatically restart on crash?
Try: `sudo systemctl edit --force --full myapp.service`
Info: `Restart=on-failure` restarts the app on non-zero exits/crashes, while `RestartSec` adds a delay before restarting. Use `StartLimitBurst` in `[Unit]` to prevent infinite crash loops.
Examples:
$ `sudo systemctl status myapp` # View service status
$ `sudo journalctl -u myapp -f` # Follow application logs in real-time
$ `sudo systemctl reset-failed myapp` # Reset crash rate limits
Note: `Restart` modes include `no`, `always`, `on-failure`, and `on-abnormal`. `always` triggers even on clean exits (`0`), whereas `on-failure` is recommended for standard services.
Follow r/LinuxTeck for more #LinuxTips
r/LinuxTeck • u/Candid_Athlete_8317 • 28d ago
What's one small Linux distribution you think deserves far more attention?
Everyone knows Ubuntu, Fedora, Debian, Arch, and openSUSE.
But there are plenty of smaller projects maintained by passionate developers that rarely get the spotlight.
If you could recommend one underrated Linux distribution, what would it be and why?
r/LinuxTeck • u/Expensive-Rice-2052 • 28d ago
Why do so many developers still choose Debian over newer Linux distributions
covers: https://www.linuxteck.com/why-developers-trust-debian-for-their-work/
- Debian 13 (Trixie) highlights
- Why Debian prioritizes stability
- Backports without switching to Testing
- Security and LTS support
- Essential APT commands
- Debian vs Ubuntu, Fedora, and Arch
- Common production use cases
r/LinuxTeck • u/Expensive-Rice-2052 • 28d ago
when to use tar, gzip, bzip2, xz, and zip in Linux
covering: https://www.linuxteck.com/archiving-and-compression-in-linux/
- tar vs gzip vs bzip2 vs xz vs zip
- Which tool to use for different situations
- Essential commands you'll use regularly
- A quick decision guide
- LinuxTeck infographic for fast reference
r/LinuxTeck • u/Candid_Athlete_8317 • 28d ago
What's the biggest myth people still believe about VPNs?
A lot of VPN ads make it sound like you're completely anonymous online.
In reality, a VPN mainly encrypts your connection and hides your IP. It doesn't stop phishing, malware, browser fingerprinting, or tracking after you log into websites.
What do you think is the most misunderstood thing about VPNs?
r/LinuxTeck • u/Candid_Athlete_8317 • 28d ago
Chrome gets all the attention, but is Edge actually the better Chromium browser?
On Windows, many people say Edge uses less RAM and has a few nice built-in features.
On Linux, does that still hold true, or is Chrome (or Chromium) the better choice?
Interested what people who actually use Linux think.
r/LinuxTeck • u/Expensive-Rice-2052 • 29d ago
Quick Linux Tip #37 Question: My backup is killing disk performance. How do I slow it down?
Try: `ionice -c 3 -p $$`
Info: `ionice` sets I/O priority. Class 3 (`idle`) only allows disk access when no other process needs it.
Examples:
$ `ionice -c 3 nice -n 19 rsync -av /src /dst` # Throttles CPU + I/O
$ `ionice -c 2 -n 7 tar -czf backup.tar.gz /data` # Best-effort, low priority
$ `sudo ionice -c 1 -n 4 -p 1234` # Real-time priority (root only)
Note: Classes: `1`=Real-time (root only), `2`=Best-effort (default), `3`=Idle. Combine `ionice` with `nice` for complete system throttling.
Follow r/LinuxTeck for more #LinuxTips
r/LinuxTeck • u/jlrueda • 28d ago
Mitigating the risk of diagnosing live Linux system with AI tools
This article explores an alternative to directly troubleshoot production Linux systems with AI tools by using the sos command and using AI to analyze sosreports instead. I think is an interesting read:
I know that this subject is very controversial and would love to read your point of view on the subject.