Linux: Guides and Practical Know-how | Page 2 | mironsoft Blog
Linux
-
Apr 24, 2026
fzf turns any list a Bash script produces into a searchable selection menu. Instead of typing numbers, the user types a few letters and instantly gets a filtered list of matches. This article shows how to integrate fzf into your own scripts, including preview windows, multi-select and a solid fallback for environments without fzf.
-
Apr 24, 2026
Bash-based monitoring scripts provide ready-to-use coverage for servers and containers without external dependencies. CPU/RAM/disk thresholds, HTTP health checks, Docker container status, and automatic alerts by email or webhook, all with plain shell tools and clear alerting logic.
-
Apr 22, 2026
The warning 'overcommit_memory is set to 0, background save may fail' at Redis startup is one of the most common kernel tuning hints in Magento hosting environments. Understanding the three overcommit modes and their relationship to the OOM killer leads to the right decision, instead of blindly following a copy-paste recommendation.
-
Apr 22, 2026
Raw text data separated by commas or tabs becomes hard to read as soon as more than three columns are involved. column -t automatically aligns columns, paste merges several files line by line side by side, and together the two tools build readable reports directly in the shell, without any spreadsheet or external table tool.
-
Apr 21, 2026
chmod only understands a single owner and a single group per file, yet real server environments often need several access levels at once. This guide explains setfacl and getfacl, walks through a deploy user example showing granular access control beyond rwx, and covers default ACLs that automatically apply the right rights to newly created files.
-
Apr 18, 2026
When PHP-FPM or Nginx crashes under load with Too many open files, the cause is almost always a ulimit value set too low, not a genuine resource shortage. This article explains the difference between soft and hard limits, shows how to configure file descriptor and process boundaries persistently and correctly through limits.conf and systemd overrides, and how to reliably diagnose the error.
-
Apr 18, 2026
Bash can open TCP sockets, build HTTP requests by hand, and test ports without curl, wget, or netcat, through the built-in /dev/tcp pseudo-device. Understanding the mechanics helps you secure minimal containers and restrictive environments, but you also need to know the clear limits: no TLS, no UDP with real feedback, and no header control like a real HTTP client offers.
-
Apr 16, 2026
docker stop sends a SIGTERM and waits, yet many applications never respond to it and get hard killed once the deadline passes. Understanding how signal forwarding, PID 1, and the grace period interact is the key to avoiding dropped connections and data loss during deployments.
-
Apr 15, 2026
Everyone knows ps aux, but the procps toolset can do far more than one fixed default output. Knowing the format options of ps, the pattern matching of pgrep, and the namespace filters of pkill helps you find processes with precision and avoid the security pitfalls of an overly broad pattern.
-
Apr 11, 2026
A container without a real init process can accumulate zombie processes and mishandle signals, two problems that look harmless at first glance but can destabilize long running production systems over weeks. tini and dumb-init solve both problems with just a few kilobytes of extra code.