DNF vs APT: What actually makes them different?
Most comparisons stop at “APT is for Debian and DNF is for Red Hat.”
This guide goes deeper into how their dependency resolvers behave, DNF5's transaction model, APT's flexibility, rollback differences, automation, and the commands you'll actually use.
🔗 https://www.linuxteck.com/dnf-vs-apt/
#LinuxTeck #Linux #DNF #APT
Most comparisons stop at “APT is for Debian and DNF is for Red Hat.”
This guide goes deeper into how their dependency resolvers behave, DNF5's transaction model, APT's flexibility, rollback differences, automation, and the commands you'll actually use.
🔗 https://www.linuxteck.com/dnf-vs-apt/
#LinuxTeck #Linux #DNF #APT
Quick Linux Tip #50 : https://www.linuxteck.com/linux-tips/find-file-by-inode-number-linux/
Question: I have a file's inode but not its path. How do I find it?
Try:
Info: Every file has a unique inode per filesystem. Running
Examples:
$
$
$
Note: Hardlinks share the exact same inode number; symlinks do not. Files are deleted only when their link count drops to 0.
Follow @LinuxTeck for more #LinuxTips click here : https://www.linuxteck.com/linux-tips/
Question: I have a file's inode but not its path. How do I find it?
Try:
sudo find / -inum 524290 2>/dev/nullInfo: Every file has a unique inode per filesystem. Running
find -inum locates all directory entries pointing to that specific inode number.Examples:
$
find / -inum 524290 2>/dev/null # Find file by inode number$
ls -i file.txt # Display inode number for a file$
find /home -samefile /home/linuxteck/original.txt # Find all matching hardlinksNote: Hardlinks share the exact same inode number; symlinks do not. Files are deleted only when their link count drops to 0.
Follow @LinuxTeck for more #LinuxTips click here : https://www.linuxteck.com/linux-tips/
Quick Linux Tip #51 : https://www.linuxteck.com/linux-tips/inotifywait-linux-file-monitoring/
Question: How do I know exactly when a file gets created, modified, or deleted?
Try:
Info:
Examples:
$
$
$
Note: Requires
Follow @LinuxTeck for more #LinuxTips click here https://www.linuxteck.com/linux-tips/
Question: How do I know exactly when a file gets created, modified, or deleted?
Try:
inotifywait -m -r -e create,modify,delete,move --timefmt '%Y-%m-%d %H:%M:%S' --format '%T %w%f %e' /var/wwwInfo:
inotifywait uses Linux kernel APIs for efficient file monitoring. -m runs continuously, -r recurse subdirectories, and -e filters specified events.Examples:
$
inotifywait -m -e close_write /uploads | while read path event file; do process.sh "$path$file"; done # Trigger script on write$
inotifywait -m --exclude '\.tmp$' /home/linuxteck # Ignore temp files$
inotifywatch -v -e access -t 60 /var/log # Collect statistics over 60sNote: Requires
inotify-tools package (sudo apt install inotify-tools). Kernel events fire instantly with minimal CPU overhead.Follow @LinuxTeck for more #LinuxTips click here https://www.linuxteck.com/linux-tips/
Best Linux Distro for AI in 2026
Choosing a Linux distro for AI isn't just about performance. GPU drivers, package freshness, stability, containers, and software compatibility can make a big difference.
We compare the major options and where each one fits best for AI and ML workloads.
https://www.linuxteck.com/best-linux-distro-for-ai/
#LinuxTeck #Linux #AI #MachineLearning #LinuxDistro
Choosing a Linux distro for AI isn't just about performance. GPU drivers, package freshness, stability, containers, and software compatibility can make a big difference.
We compare the major options and where each one fits best for AI and ML workloads.
https://www.linuxteck.com/best-linux-distro-for-ai/
#LinuxTeck #Linux #AI #MachineLearning #LinuxDistro
Quick Linux Tip #52 : https://www.linuxteck.com/linux-tips/linux-tips-rsync-bandwidth-limit/
Question: My rsync is saturating my connection. How do I cap its bandwidth?
Try:
Info:
Examples:
$
$
$
Note:
Follow @LinuxTeck for more #LinuxTips click here :https://www.linuxteck.com/linux-tips/
Question: My rsync is saturating my connection. How do I cap its bandwidth?
Try:
rsync -avz --bwlimit=5000 /source/ linuxteck@backup:/dest/Info:
--bwlimit=5000 caps transfers at 5000 KB/s (~5 MB/s) to prevent network congestion during peak hours.Examples:
$
rsync -avz --bwlimit=10M /src/ user@host:/dst/ # Limit to 10 MB/s (rsync v3.1+)$
scp -l 40000 file.iso user@host: # scp uses Kbit/s (5000 KB/s * 8)$
wget --limit-rate=5m http://example.com/big.iso # wget accepts k/m suffixesNote:
rsync --bwlimit defaults to KB/s, while scp -l expects Kbit/s (8x higher number for the same speed).Follow @LinuxTeck for more #LinuxTips click here :https://www.linuxteck.com/linux-tips/
How to Install Coolify on Any VPS: A Step-by-Step Guide
If you have an unmanaged VPS and want an easier way to deploy and manage applications, Coolify can turn it into your own self-hosted platform.
I put together a step-by-step guide covering the VPS prerequisites, system preparation, Coolify installation, and accessing the dashboard.
Guide: https://www.linuxteck.com/install-coolify-vps/
#LinuxTeck #Coolify #Linux #VPS #SelfHosting
If you have an unmanaged VPS and want an easier way to deploy and manage applications, Coolify can turn it into your own self-hosted platform.
I put together a step-by-step guide covering the VPS prerequisites, system preparation, Coolify installation, and accessing the dashboard.
Guide: https://www.linuxteck.com/install-coolify-vps/
#LinuxTeck #Coolify #Linux #VPS #SelfHosting
Quick Linux Tip #53 : https://www.linuxteck.com/linux-tips/linux-tips-kill-multiple-processes-pkill/
Question: Kill Multiple Processes with pkill
Try:
Info:
Examples:
$
$
$
Note: ALWAYS preview with
Follow @LinuxTeck for more #LinuxTips click here : https://www.linuxteck.com/linux-tips/
Question: Kill Multiple Processes with pkill
Try:
pkill -f 'python.*worker.py'Info:
pkill matches command lines using regex. -f matches full command strings instead of process names. Always preview matches using pgrep -af first.Examples:
$
pgrep -af 'ffmpeg' # Preview matching processes and full arguments$
pkill -9 -f 'stuck-process' # Send SIGKILL to matching processes$
pkill -u linuxteck # Terminate all processes owned by a specific userNote: ALWAYS preview with
pgrep before killing. Default signal is SIGTERM (15). Use -9 (SIGKILL) only if processes fail to terminate gracefully.Follow @LinuxTeck for more #LinuxTips click here : https://www.linuxteck.com/linux-tips/
Master Nmap Command in Linux: 15 Practical Examples
Read the guide : https://www.linuxteck.com/nmap-command-in-linux/
This LinuxTeck guide covers 15 practical Nmap commands - from basic host discovery and port scans to -sV, -O, UDP scanning, NSE vulnerability checks, and saving results.
#LinuxTeck #Nmap #Linux #Networking #CyberSecurity #SysAdmin
Read the guide : https://www.linuxteck.com/nmap-command-in-linux/
This LinuxTeck guide covers 15 practical Nmap commands - from basic host discovery and port scans to -sV, -O, UDP scanning, NSE vulnerability checks, and saving results.
#LinuxTeck #Nmap #Linux #Networking #CyberSecurity #SysAdmin
XZ Compression in Linux Made Easy
https://www.linuxteck.com/xz-compression-in-linux/
12 practical xz examples for Linux users.
Compress & decompress files, keep originals with -k, choose compression levels, use all CPU cores with -T 0, create .tar.xz archives, read compressed logs with xzcat, and verify archive integrity.
A handy Linux command reference from LinuxTeck.
#LinuxTeck #Linux #LinuxCommands #XZ #DevOps #SysAdmin
https://www.linuxteck.com/xz-compression-in-linux/
12 practical xz examples for Linux users.
Compress & decompress files, keep originals with -k, choose compression levels, use all CPU cores with -T 0, create .tar.xz archives, read compressed logs with xzcat, and verify archive integrity.
A handy Linux command reference from LinuxTeck.
#LinuxTeck #Linux #LinuxCommands #XZ #DevOps #SysAdmin
Quick Linux Tip #54 : https://www.linuxteck.com/linux-tips/linux-tips-extract-json-values-jq/
Question: How do I quickly grab a value from JSON output on the command line?
Try: curl -s https://api[.]github[.]com/users/torvalds | jq -r '.name'
Info:
Examples:
$
$
$
Note: Install via
Follow @LinuxTeck for more #LinuxTips click here https://www.linuxteck.com/linux-tips/
Question: How do I quickly grab a value from JSON output on the command line?
Try: curl -s https://api[.]github[.]com/users/torvalds | jq -r '.name'
Info:
jq is the standard command-line JSON processor. -r outputs raw strings without quotes. Supports filtering, key extraction, mapping, and transformation.Examples:
$
jq '.users[] | select(.active == true)' data.json # Filter JSON array$
kubectl get pods -o json | jq -r '.items[].metadata.name' # Extract Kubernetes pod names$
jq '.[]' file.json # Iterate over array elementsNote: Install via
sudo apt install jq. Test filters online at jqplay.org. Essential for REST API scripting and Kubernetes management.Follow @LinuxTeck for more #LinuxTips click here https://www.linuxteck.com/linux-tips/
Best Google Docs Alternatives for Linux Users
https://www.linuxteck.com/best-google-docs-alternatives-for-linux-users/
Looking for a Google Docs alternative on Linux?
We compared 6 options — OnlyOffice, Nextcloud Office, CryptPad, Etherpad, Zoho Writer, and Collabora Online — with a focus on self-hosting, privacy, compatibility, and resource requirements.
#LinuxTeck #Linux #OpenSource #SelfHosting
https://www.linuxteck.com/best-google-docs-alternatives-for-linux-users/
Looking for a Google Docs alternative on Linux?
We compared 6 options — OnlyOffice, Nextcloud Office, CryptPad, Etherpad, Zoho Writer, and Collabora Online — with a focus on self-hosting, privacy, compatibility, and resource requirements.
#LinuxTeck #Linux #OpenSource #SelfHosting
Quick Linux Tip #55 : https://www.linuxteck.com/linux-tips/linux-tips-check-exported-symbols-so-files/
Question: A binary is failing with 'undefined symbol'. How do I check what a .so file exports?
Try:
Info:
Examples:
$
$
$
Note: Symbol flags:
Follow @LinuxTeck for more #LinuxTips
Question: A binary is failing with 'undefined symbol'. How do I check what a .so file exports?
Try:
nm -D /usr/lib/x86_64-linux-gnu/libssl.so.3 | grep ' T ' | head -20Info:
nm -D inspects dynamic symbols in shared libraries. T indicates exported functions, while U marks undefined dependencies imported from elsewhere.Examples:
$
nm -D --defined-only /path/to/lib.so | grep function_name # Find exported symbol$
ldd /usr/bin/nginx # View all shared library dependencies$
objdump -T /path/to/lib.so | grep -w function_name # Inspect dynamic symbol tableNote: Symbol flags:
T (exported text/function), U (undefined/imported), B/D (data). Debug missing symbols using LD_DEBUG=symbols ./program 2>&1 | less.Follow @LinuxTeck for more #LinuxTips
Best Online Cron Job Tools for Linux
Cron tools aren't all solving the same problem.
Category A: Create & test cron expressions.
Category B: Monitor jobs, detect failures, and handle scheduled HTTP execution.
Here are 9 useful online tools for Linux users.
https://www.linuxteck.com/best-online-cron-job-tools-for-linux/
#LinuxTeck #Linux #CronJobs #DevOps
Cron tools aren't all solving the same problem.
Category A: Create & test cron expressions.
Category B: Monitor jobs, detect failures, and handle scheduled HTTP execution.
Here are 9 useful online tools for Linux users.
https://www.linuxteck.com/best-online-cron-job-tools-for-linux/
#LinuxTeck #Linux #CronJobs #DevOps
Quick Linux Tip #56 : https://www.linuxteck.com/linux-tips/iotop-linux-disk-io/
Question: My SSD is wearing out. Which process is writing the most?
Try:
Info:
Examples:
$
$
$
Note: Excessive writes degrade SSD lifespan. Monitor drive health and wear levels using
Follow @LinuxTeck for more #LinuxTips click here https://www.linuxteck.com/linux-tips/
Question: My SSD is wearing out. Which process is writing the most?
Try:
sudo iotop -aoP -d 5Info:
iotop tracks real-time disk I/O. -a accumulates total I/O since start, -o filters active processes, and -P groups by process instead of thread.Examples:
$
sudo iotop -o # Show only processes actively performing I/O$
sudo iotop -b -n 5 > iotop.log # Run batch mode for logging$
pidstat -d 1 # Check per-process I/O without requiring root permissionsNote: Excessive writes degrade SSD lifespan. Monitor drive health and wear levels using
smartctl -a /dev/sda.Follow @LinuxTeck for more #LinuxTips click here https://www.linuxteck.com/linux-tips/
Debian vs RHEL for Servers: Which One Should You Choose?
Read the full comparison https://www.linuxteck.com/debian-vs-rhel-for-servers/
Debian or RHEL for your next Linux server?
The choice is less about raw performance and more about support, cost, lifecycle, certification, security, and how much control you want.
Choose Debian for a free, community-driven server with predictable behavior.
Choose RHEL when you need vendor support, certified software, compliance, and a long enterprise lifecycle.
Considering RHEL compatibility without the subscription? Rocky Linux and AlmaLinux are also worth looking at.
#LinuxTeck #Linux #Debian #RHEL #LinuxServer #LinuxAdministration #SysAdmin
Read the full comparison https://www.linuxteck.com/debian-vs-rhel-for-servers/
Debian or RHEL for your next Linux server?
The choice is less about raw performance and more about support, cost, lifecycle, certification, security, and how much control you want.
Choose Debian for a free, community-driven server with predictable behavior.
Choose RHEL when you need vendor support, certified software, compliance, and a long enterprise lifecycle.
Considering RHEL compatibility without the subscription? Rocky Linux and AlmaLinux are also worth looking at.
#LinuxTeck #Linux #Debian #RHEL #LinuxServer #LinuxAdministration #SysAdmin
Quick Linux Tip #57: How to Connect Through Multiple SSH Jump Hosts
Q: I need to reach server-C through server-A and server-B. Any shortcut?
Try:
Info:
Examples:
$
$
$
Note: Direct equivalent to
Follow @LinuxTeck for more #LinuxTips https://www.linuxteck.com/linux-tips/ssh-jump-host-linux/
Q: I need to reach server-C through server-A and server-B. Any shortcut?
Try:
ssh -J linuxteck@bastion,linuxteck@jumphost linuxteck@internal-serverInfo:
-J (Jump host) chains multiple SSH connections sequentially: local → bastion → jumphost → target. Authenticates each hop end-to-end using your local SSH key.Examples:
$
ssh -J user@bastion user@internal # Single jump host$
scp -J user@bastion file.iso user@internal:/tmp/ # Copy files via jump host$
rsync -e 'ssh -J user@bastion' -av /src/ user@internal:/dst/ # Sync over jump hostNote: Direct equivalent to
ProxyJump in ~/.ssh/config. Much cleaner and safer than nested ssh -t or enabling SSH agent forwarding.Follow @LinuxTeck for more #LinuxTips https://www.linuxteck.com/linux-tips/ssh-jump-host-linux/
LibreWolf vs Firefox: Find the Better Browser
https://www.linuxteck.com/librewolf-vs-firefox/
LibreWolf and Firefox share the same foundation, but their defaults take very different approaches.
LibreWolf: privacy-first defaults, reduced telemetry & stronger tracking protection
Firefox: convenience, Sync, compatibility & broader ecosystem support
#LinuxTeck #Linux #LibreWolf #Firefox #Privacy #OpenSource
https://www.linuxteck.com/librewolf-vs-firefox/
LibreWolf and Firefox share the same foundation, but their defaults take very different approaches.
LibreWolf: privacy-first defaults, reduced telemetry & stronger tracking protection
Firefox: convenience, Sync, compatibility & broader ecosystem support
#LinuxTeck #Linux #LibreWolf #Firefox #Privacy #OpenSource
How to Recover Deleted Files in Linux
https://www.linuxteck.com/recover-deleted-files-in-linux/
Deleted an important Linux file? Stop using the affected disk before doing anything else.
Learn a safer recovery workflow using disk imaging, filesystem checks, extundelete, ext4magic, PhotoRec, and separate storage for recovered data.
#LinuxTeck #Linux #DataRecovery #LinuxTips #OpenSource
https://www.linuxteck.com/recover-deleted-files-in-linux/
Deleted an important Linux file? Stop using the affected disk before doing anything else.
Learn a safer recovery workflow using disk imaging, filesystem checks, extundelete, ext4magic, PhotoRec, and separate storage for recovered data.
#LinuxTeck #Linux #DataRecovery #LinuxTips #OpenSource
Quick Linux Tip #58 How to Profile Memory Usage in a Bash Script
Question: My bash script has a memory leak somewhere. How do I profile it?
Try:
Info:
Examples:
$
$
$
Note: Shell builtin
Follow @LinuxTeck for more #LinuxTips : https://www.linuxteck.com/linux-tips/linux-bash-script-memory-profiling/
Question: My bash script has a memory leak somewhere. How do I profile it?
Try:
/usr/bin/time -v bash ./my_script.sh 2>&1 | grep -E 'Maximum|CPU|Elapsed|Voluntary'Info:
/usr/bin/time (GNU binary, not shell builtin) with -v tracks detailed resource usage. Peak memory is shown under Maximum RSS.Examples:
$
/usr/bin/time -v ./program 2>time.log # Log detailed resource stats to file$
/usr/bin/time -f '%M KB peak, %e sec, %P CPU' ./script.sh # Custom format output$
valgrind --tool=massif ./program # Memory profiling for compiled binariesNote: Shell builtin
time provides minimal data. Always specify absolute path /usr/bin/time. High RSS in scripts usually means storing massive files/arrays in memory.Follow @LinuxTeck for more #LinuxTips : https://www.linuxteck.com/linux-tips/linux-bash-script-memory-profiling/
California AB 1856 Could Exempt Linux From Age Verification
Read the full LinuxTeck article : https://www.linuxteck.com/ab-1856-linux-exemption/
Learn what the bill means for Linux distributions including Ubuntu, Fedora, Debian and Arch, why SteamOS remains uncertain, and what happens next before the January 2027 compliance deadline. California's AB 1856 could be a major win for Linux and open-source users.
#LinuxTeck #Linux #OpenSource #LinuxTips #LinuxNews #Privacy #CyberSecurity
Read the full LinuxTeck article : https://www.linuxteck.com/ab-1856-linux-exemption/
Learn what the bill means for Linux distributions including Ubuntu, Fedora, Debian and Arch, why SteamOS remains uncertain, and what happens next before the January 2027 compliance deadline. California's AB 1856 could be a major win for Linux and open-source users.
#LinuxTeck #Linux #OpenSource #LinuxTips #LinuxNews #Privacy #CyberSecurity
Quick Linux Tip #59 How to Check File Access Time with stat
Question: How do I check when a file was last read without changing that timestamp?
Try:
Info:
Examples:
$
$
$
Note:
Follow @LinuxTeck for more #LinuxTips https://www.linuxteck.com/linux-tips/linux-stat-command-atime/
Question: How do I check when a file was last read without changing that timestamp?
Try:
stat -c '%n Access: %x Modify: %y Change: %z' /var/log/syslogInfo:
stat with -c custom formatting inspects timestamps without triggering a read access (unlike cat). Format specs: %x (atime), %y (mtime), and %z (ctime).Examples:
$
stat -c '%Y' file # Output modification time as Unix timestamp$
find /home -atime +90 # Locate files not accessed in 90+ days$
mount -o noatime /dev/sda1 /mnt # Disable access time updates to reduce write IONote:
atime updates on read actions. Most Linux distros default to relatime, updating atime only if older than mtime to optimize SSD performance.Follow @LinuxTeck for more #LinuxTips https://www.linuxteck.com/linux-tips/linux-stat-command-atime/