Bash Piped Logging
A quick bash logging setup that uses a named pipe and tee to capture stdout and stderr to a file while keeping the terminal interactive. Five lines of shell code, zero external dependencies.
read more
Bash Shell Redirects
A quick reference for the most common bash shell redirect operators, with examples showing how to send stdout and stderr to files or swap them.
read more
Check and Backup Databases
A quick bash workflow for running integrity checks and generating SQL dumps across a set of user databases in MySQL.
read more
Check Apache Stack Limit
A quick one-liner to inspect the stack size limit applied to a running Apache httpd process on Linux. Useful when debugging segfaults or tuning worker memory.
read more
Check Disk State
A quick one-liner to list every mounted ext3 or ext4 partition along with its label and filesystem state, useful for spotting unclean shutdowns or journal issues at a glance.
read more
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