Check Inode Counts with Formatting
Practical bash one-liners for counting inodes per directory and reporting disk usage with formatted output. Handy when you need a quick snapshot of filesystem pressure without pulling in a full monitoring tool.
read more
Check Web Crawler Impact
A quick bash function to identify which search engine crawlers are hitting your Apache logs and how often, so you can spot unusual traffic patterns at a glance.
read more
Chroot Suggested Mounts for Rescue
A quick walkthrough of using virt-rescue to generate the correct mount commands for a chroot rescue session on a libvirt guest.
read more
Count Unique Connecting Addresses
A quick pipeline using awk, sort, and uniq to count how many times each unique IP address appears in a log file. Handy for spotting the most active or suspicious clients at a glance.
read more
Crontab Log
Find where cron logs live on your Linux system and learn how to read them to confirm scheduled jobs actually ran.
read more
Disable ModSecurity on a Domain via .htaccess
Learn how to turn off ModSecurity for a specific domain or path using a single directive in your .htaccess file. This is useful when a legitimate request is being blocked by the WAF rules.
read more